remove internal panic handler #131

Closed
opened 2022-11-02 23:14:32 +03:00 by vtolstov · 0 comments
vtolstov commented 2022-11-02 23:14:32 +03:00 (Migrated from github.com)
micro-server-grpc/grpc.go:218:		if r := recover(); r != nil {
micro-server-grpc/grpc.go:223:				config.Logger.Errorf(config.Context, "panic in %s.%s recovered: %v", serviceName, methodName, r)
micro-server-grpc/grpc.go:226:			err = errors.InternalServerError(g.opts.Name, "panic in %s.%s recovered: %v", serviceName, methodName, r)
micro-server-grpc/subscriber.go:139:			if r := recover(); r != nil {
micro-server-grpc/subscriber.go:141:					g.opts.Logger.Error(g.opts.Context, "panic recovered: ", r)
micro-server-grpc/subscriber.go:144:				err = errors.InternalServerError(g.opts.Name+".subscriber", "panic recovered: %v", r)
``` micro-server-grpc/grpc.go:218: if r := recover(); r != nil { micro-server-grpc/grpc.go:223: config.Logger.Errorf(config.Context, "panic in %s.%s recovered: %v", serviceName, methodName, r) micro-server-grpc/grpc.go:226: err = errors.InternalServerError(g.opts.Name, "panic in %s.%s recovered: %v", serviceName, methodName, r) micro-server-grpc/subscriber.go:139: if r := recover(); r != nil { micro-server-grpc/subscriber.go:141: g.opts.Logger.Error(g.opts.Context, "panic recovered: ", r) micro-server-grpc/subscriber.go:144: err = errors.InternalServerError(g.opts.Name+".subscriber", "panic recovered: %v", r) ```
kgorbunov was assigned by vtolstov 2024-02-25 16:04:01 +03:00
kgorbunov added spent time 2024-02-27 17:09:44 +03:00
10 minutes
vtolstov referenced this issue from a commit 2024-02-27 20:29:01 +03:00
kgorbunov added spent time 2024-02-27 22:44:42 +03:00
5 minutes
vtolstov referenced this issue from a commit 2024-02-27 22:47:38 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 15 minutes
kgorbunov
15 minutes
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro-server-grpc#131
No description provided.