modify newPayload failure logging (#4930)

This commit is contained in:
tersec 2023-05-11 10:58:25 +00:00 committed by GitHub
parent 18bc47fe83
commit 2fcc01f516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ proc getExecutionValidity(
of PayloadExecutionStatus.valid: of PayloadExecutionStatus.valid:
return NewPayloadStatus.valid return NewPayloadStatus.valid
except CatchableError as err: except CatchableError as err:
error "getExecutionValidity: newPayload failed", error "newPayload failed and leaked exception",
err = err.msg, err = err.msg,
executionPayload = shortLog(blck.message.body.execution_payload), executionPayload = shortLog(blck.message.body.execution_payload),
blck = shortLog(blck) blck = shortLog(blck)