Add extra error line (#25521)

This commit is contained in:
Tyera Eulberg 2022-05-24 17:13:25 -06:00 committed by GitHub
parent 2fb096c486
commit 82eba41a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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);
} }