From 9365b1fe9bebf69e52dfe4d27fbe1eeeb8cd08ac Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 8 Aug 2020 09:21:13 +0100 Subject: [PATCH] Add subscriber naem --- subscriber.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscriber.go b/subscriber.go index 47e3640..28f86ab 100644 --- a/subscriber.go +++ b/subscriber.go @@ -175,7 +175,7 @@ func (g *grpcServer) createSubHandler(sb *subscriber, opts server.Options) broke logger.Error("panic recovered: ", r) logger.Error(string(debug.Stack())) } - err = errors.InternalServerError("go.micro.server", "panic recovered: %v", r) + err = errors.InternalServerError(g.opts.Name+".subscriber", "panic recovered: %v", r) } }()