Skip to content

Commit

Permalink
[aptos-vm] Adjust severity of some error codes. (#5586)
Browse files Browse the repository at this point in the history
  • Loading branch information
runtian-zhou authored Nov 29, 2022
1 parent d1ee3d6 commit 2ec7225
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aptos-move/aptos-vm/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ pub fn expect_only_successful_execution(
VMStatus::Executed => VMStatus::Executed,

status => {
log_context.alert();
error!(
// Only trigger a warning here as some errors could be a result of the speculative parallel execution.
// We will report the errors after we obtained the final transaction output in update_counters_for_processed_chunk
warn!(
*log_context,
"[aptos_vm] Unexpected error from known Move function, '{}'. Error: {:?}",
function_name,
Expand Down

0 comments on commit 2ec7225

Please sign in to comment.