mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-11 21:59:06 +08:00
user update
This commit is contained in:
parent
a60dc3189c
commit
5c38ffa15e
@ -45,9 +45,9 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
|
||||
Cause: fmt.Sprintf("%s", r),
|
||||
Warp: nil,
|
||||
}
|
||||
sta, err := status.New(codes.Code(errs.ErrInternalServer.Code()), errs.ErrInternalServer.Msg()).WithDetails(errInfo)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
sta, err_ := status.New(codes.Code(errs.ErrInternalServer.Code()), errs.ErrInternalServer.Msg()).WithDetails(errInfo)
|
||||
if err_ != nil {
|
||||
panic(err_)
|
||||
}
|
||||
err = sta.Err()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user