buildkitd: ensure stack traces on logging errors

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
v0.8
Tonis Tiigi 2020-07-16 20:59:25 -07:00
parent 97ca82f4c4
commit f825fea268
1 changed files with 1 additions and 1 deletions

View File

@ -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
}