Add subscriber naem

This commit is contained in:
Asim Aslam 2020-08-08 09:21:13 +01:00 committed by Vasiliy Tolstov
parent 3703769758
commit 9365b1fe9b

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