Skip to content

Commit

Permalink
fix grpc error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rapthead committed Jun 18, 2024
1 parent 9cb91f5 commit 16a3388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/guns/grpc/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (g *Gun) shoot(ammo *ammo.Ammo) {
code = ConvertGrpcStatus(grpcErr)

if grpcErr != nil {
g.GunDeps.Log.Error("response error", zap.Error(err))
g.GunDeps.Log.Error("response error", zap.Error(grpcErr))
}

g.Answ(&method, message, ammo.Metadata, out, grpcErr, code)
Expand Down

0 comments on commit 16a3388

Please sign in to comment.