From 3aad04cfd9862dfda0f6c696e2e1b0c71cdeb0c1 Mon Sep 17 00:00:00 2001 From: sideninja <75445744+sideninja@users.noreply.github.com> Date: Fri, 24 May 2024 14:21:48 +0200 Subject: [PATCH] fix err log --- api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index a12a8d80d..04d44c1df 100644 --- a/api/api.go +++ b/api/api.go @@ -424,7 +424,7 @@ func (b *BlockChainAPI) Call( res, err := b.evm.Call(ctx, tx, from, cadenceHeight) if err != nil { // we debug output this error because the execution error is related to user input - b.logger.Debug().Str("error", err.Error()).Msg("failed to execute call") + b.logger.Debug().Err(err).Msg("failed to execute call") return nil, err }