mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 02:16:16 +08:00
user update
This commit is contained in:
parent
6ce1c6c048
commit
1f03ebdbe7
@ -29,7 +29,8 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
|
||||
var operationID string
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
log.ZError(ctx, "rpc panic", nil, "FullMethod", info.FullMethod, "type:", fmt.Sprintf("%T", r), "panic:", r, "stack", string(debug.Stack()))
|
||||
log.ZError(ctx, "rpc panic", nil, "FullMethod", info.FullMethod, "type:", fmt.Sprintf("%T", r), "panic:", r)
|
||||
fmt.Println("stack info:", string(debug.Stack()))
|
||||
err = errs.ErrInternalServer
|
||||
}
|
||||
}()
|
||||
|
Loading…
x
Reference in New Issue
Block a user