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 10 minutes 2024-02-27 17:09:44 +03:00
vtolstov referenced this issue from a commit 2024-02-27 20:29:01 +03:00
kgorbunov added spent time 5 minutes 2024-02-27 22:44:42 +03:00
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 kgorbunov
1 Participants
Notifications
Total Time Spent: 15 minutes
kgorbunov
15 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

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