Return detailed msg for notification errors (#5913)

This commit is contained in:
Anis Elleuch
2018-05-09 15:11:24 -07:00
committed by Dee Koder
parent c1f1fa3cc8
commit c525424179
4 changed files with 15 additions and 15 deletions

View File

@@ -246,13 +246,13 @@ func serverMain(ctx *cli.Context) {
var handler http.Handler
handler, err = configureServerHandler(globalEndpoints)
if err != nil {
logger.Fatal(uiErrUnexpectedError(err), "Unable to configure one of server's RPC services.")
logger.Fatal(uiErrUnexpectedError(err), "Unable to configure one of server's RPC services")
}
// Create new notification system.
globalNotificationSys, err = NewNotificationSys(globalServerConfig, globalEndpoints)
if err != nil {
logger.Fatal(uiErrUnexpectedError(err), "Unable to create new notification system.")
logger.Fatal(err, "Unable to initialize the notification system")
}
// Create new policy system.