mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-10 21:19:02 +08:00
user update
This commit is contained in:
parent
92d941b747
commit
a60dc3189c
@ -35,7 +35,7 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
|
|||||||
log.ZError(ctx, "rpc panic", nil, "FullMethod", info.FullMethod, "type:", fmt.Sprintf("%T", r), "panic:", r)
|
log.ZError(ctx, "rpc panic", nil, "FullMethod", info.FullMethod, "type:", fmt.Sprintf("%T", r), "panic:", r)
|
||||||
fmt.Println("stack info:", string(debug.Stack()))
|
fmt.Println("stack info:", string(debug.Stack()))
|
||||||
pc, file, line, ok := runtime.Caller(4)
|
pc, file, line, ok := runtime.Caller(4)
|
||||||
if ok {
|
if !ok {
|
||||||
panic("get runtime.Caller failed")
|
panic("get runtime.Caller failed")
|
||||||
}
|
}
|
||||||
errInfo := &errinfo.ErrorInfo{
|
errInfo := &errinfo.ErrorInfo{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user