Add extra error line (#25521)
This commit is contained in:
parent
2fb096c486
commit
82eba41a7d
|
@ -145,6 +145,7 @@ pub fn update_finalized_transaction(
|
||||||
"Signature not found {} and blockhash expired. Transaction either dropped or the validator purged the transaction status.",
|
"Signature not found {} and blockhash expired. Transaction either dropped or the validator purged the transaction status.",
|
||||||
signature
|
signature
|
||||||
);
|
);
|
||||||
|
eprintln!();
|
||||||
|
|
||||||
// Don't discard the transaction, because we are not certain the
|
// Don't discard the transaction, because we are not certain the
|
||||||
// blockhash is expired. Instead, return None to signal that
|
// blockhash is expired. Instead, return None to signal that
|
||||||
|
@ -166,6 +167,7 @@ pub fn update_finalized_transaction(
|
||||||
// The transaction was finalized, but execution failed. Drop it.
|
// The transaction was finalized, but execution failed. Drop it.
|
||||||
eprintln!("Error in transaction with signature {}: {}", signature, e);
|
eprintln!("Error in transaction with signature {}: {}", signature, e);
|
||||||
eprintln!("Discarding transaction record");
|
eprintln!("Discarding transaction record");
|
||||||
|
eprintln!();
|
||||||
db.rem(&signature.to_string())?;
|
db.rem(&signature.to_string())?;
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue