From 17eaca079377595259fc6542e74a18d77cfac3e7 Mon Sep 17 00:00:00 2001 From: Nikolay Eskov Date: Mon, 4 Jul 2022 11:20:48 +0300 Subject: [PATCH] Fix error message in 'handleInvokeScriptInvocationError'. --- pkg/state/invoke_applier.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/state/invoke_applier.go b/pkg/state/invoke_applier.go index de243c060..bf18e55fc 100644 --- a/pkg/state/invoke_applier.go +++ b/pkg/state/invoke_applier.go @@ -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) }