Skip to content

Commit

Permalink
fix: warnings are not caught in tests, switching to printing direct t…
Browse files Browse the repository at this point in the history
…o stderr
  • Loading branch information
willemneal committed May 16, 2024
1 parent 783d056 commit 0906cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 0906cd2

Please sign in to comment.