Skip to content

Commit

Permalink
fix(service): fix grpc service error log (#2834)
Browse files Browse the repository at this point in the history
Signed-off-by: yisaer <[email protected]>
  • Loading branch information
Yisaer authored May 10, 2024
1 parent 5ca6981 commit 6bd1a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/executors.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (d *grpcExecutor) InvokeFunction(_ api.FunctionContext, name string, params
}
}
if e != nil {
return nil, fmt.Errorf("error invoking method %s in proto: %v", name, err)
return nil, fmt.Errorf("error invoking method %s in proto: %v", name, e)
}
odm, err := dynamic.AsDynamicMessage(o)
if err != nil {
Expand Down

0 comments on commit 6bd1a59

Please sign in to comment.