diff --git a/pkg/rpc/server/server.go b/pkg/rpc/server/server.go index 03399574c..edea05edf 100644 --- a/pkg/rpc/server/server.go +++ b/pkg/rpc/server/server.go @@ -488,7 +488,7 @@ func (s *Server) getApplicationLog(reqParams request.Params) (interface{}, *resp appExecResult, err := s.chain.GetAppExecResult(txHash) if err != nil { - return nil, response.NewRPCError("Unknown transaction", "", nil) + return nil, response.NewRPCError("Unknown transaction", "", err) } return result.NewApplicationLog(appExecResult), nil