From 04580abbe7e6aa6a7b76d818fe5224b6cbaa8ac1 Mon Sep 17 00:00:00 2001 From: GroovieGermanikus Date: Thu, 20 Jun 2024 13:23:54 +0200 Subject: [PATCH] imrpove error message --- benchrunner-service/src/args.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchrunner-service/src/args.rs b/benchrunner-service/src/args.rs index e0f1cc92..9a4cf31d 100644 --- a/benchrunner-service/src/args.rs +++ b/benchrunner-service/src/args.rs @@ -41,7 +41,7 @@ pub fn read_tenant_configs(env_vars: Vec<(String, String)>) -> Vec .find(|(v, _)| *v == format!("TENANT{}_ID", tc)) .iter() .exactly_one() - .expect("need ID") + .expect("need TENANT_X_ID") .1 .to_string(), rpc_addr: v @@ -49,7 +49,7 @@ pub fn read_tenant_configs(env_vars: Vec<(String, String)>) -> Vec .find(|(v, _)| *v == format!("TENANT{}_RPC_ADDR", tc)) .iter() .exactly_one() - .expect("need RPC_ADDR") + .expect("need TENANT_X_RPC_ADDR") .1 .to_string(), tx_status_ws_addr: v @@ -57,7 +57,7 @@ pub fn read_tenant_configs(env_vars: Vec<(String, String)>) -> Vec .find(|(v, _)| *v == format!("TENANT{}_TX_STATUS_WS_ADDR", tc)) .iter() .exactly_one() - .expect("need TX_STATUS_WS_ADDR") + .expect("need TENANT_X_TX_STATUS_WS_ADDR") .1 .to_string(), })