Skip to content

Commit

Permalink
Merge pull request #1328 from AhaLabs/fix/CI
Browse files Browse the repository at this point in the history
fix: switch to stderr directly for when account already exists
  • Loading branch information
chadoh committed May 16, 2024
2 parents 783d056 + 0906cd2 commit 8db6145
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 8db6145

Please sign in to comment.