From 6b7ed51997a0c316c1bf7d308e5e0a3a9668647b Mon Sep 17 00:00:00 2001 From: syntrust Date: Fri, 13 Dec 2024 16:24:39 +0800 Subject: [PATCH] debug --- beacon/engine/errors.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beacon/engine/errors.go b/beacon/engine/errors.go index c37357341a..11feb79e42 100644 --- a/beacon/engine/errors.go +++ b/beacon/engine/errors.go @@ -17,6 +17,8 @@ package engine import ( + "fmt" + "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc" ) @@ -44,7 +46,7 @@ func (e *EngineAPIError) ErrorData() interface{} { func (e *EngineAPIError) With(err error) *EngineAPIError { return &EngineAPIError{ code: e.code, - msg: err.Error(), + msg: fmt.Sprintf("%s:%s", e.msg, err), err: err, } }