From 0906cd22d555aedeaa6b135988d16964dc13802e Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Thu, 16 May 2024 11:31:10 -0400 Subject: [PATCH] fix: warnings are not caught in tests, switching to printing direct to stderr --- cmd/soroban-cli/src/commands/network/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/network/mod.rs b/cmd/soroban-cli/src/commands/network/mod.rs index 9df58cdda..18fdb0029 100644 --- a/cmd/soroban-cli/src/commands/network/mod.rs +++ b/cmd/soroban-cli/src/commands/network/mod.rs @@ -213,7 +213,7 @@ impl Network { tracing::debug!("{res:#?}"); if let Some(detail) = res.get("detail").and_then(Value::as_str) { if detail.contains("createAccountAlreadyExist") { - tracing::warn!("Account already exists"); + eprintln!("Account already exists"); } } else if res.get("successful").is_none() { return Err(Error::InproperResponse(res.to_string()));