buildkitd: ensure stack traces on logging errors
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>v0.8
parent
97ca82f4c4
commit
f825fea268
|
@ -538,7 +538,7 @@ func unaryInterceptor(globalCtx context.Context) grpc.UnaryServerInterceptor {
|
|||
|
||||
resp, err = withTrace(ctx, req, info, handler)
|
||||
if err != nil {
|
||||
logrus.Errorf("%s returned error: %+v", info.FullMethod, err)
|
||||
logrus.Errorf("%s returned error: %+v", info.FullMethod, stack.Formatter(err))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue