Skip to content

Commit

Permalink
Generalize error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed May 27, 2024
1 parent 47099ae commit 4d6e5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/sys-lend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("{msg}");

if !send_transaction_until_expired(&rpc_client, &transaction, last_valid_block_height) {
let msg = format!("Deposit failed: {signature}");
let msg = format!("Transaction failed: {signature}");
notifier.send(&msg).await;
return Err(msg.into());
}
Expand Down

0 comments on commit 4d6e5de

Please sign in to comment.