Skip to content

Commit

Permalink
Fix error message in 'handleInvokeScriptInvocationError'.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Jul 6, 2022
1 parent 1bf1b3c commit 17eaca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/state/invoke_applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,9 @@ func (ia *invokeApplier) handleInvokeScriptInvocationError(
// Reject transaction after certain height
rejectTx = rejectTx || info.checkerInfo.height >= ia.settings.InternalInvokeCorrectFailRejectBehaviourAfterHeight
case ride.Undefined, ride.EvaluationFailure: // Unhandled or evaluator error
return nil, errors.Wrapf(invErr, "invocation of transaction '%s' failed with error type (%T)", txID.String(), et)
return nil, errors.Wrapf(invErr, "invocation of transaction '%s' failed with error type value (%v)", txID.String(), et)
default:
return nil, errors.Wrapf(invErr, "invocation of transaction '%s' failed with unknown error type (%T)", txID.String(), et)
return nil, errors.Wrapf(invErr, "invocation of transaction '%s' failed with unknown error type value (%v)", txID.String(), et)
}
return handleError(rejectTx)
}
Expand Down

0 comments on commit 17eaca0

Please sign in to comment.