Add subscriber naem

This commit is contained in:
Asim Aslam 2020-08-08 09:21:13 +01:00
parent 4c95c65d81
commit 64feb6dff2

View File

@ -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)
}
}()