From 6820420325c94554a6f4034d2fe8e1972e57f6c1 Mon Sep 17 00:00:00 2001
From: jbhusson <jonah@elixxir.io>
Date: Thu, 13 Feb 2020 10:08:26 -0800
Subject: [PATCH] wrap panic properly

---
 cmd/root.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/root.go b/cmd/root.go
index 38e8a0d..9b19088 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -98,7 +98,7 @@ var rootCmd = &cobra.Command{
 
 		// Wait forever to prevent process from ending
 		err = <-errChan
-		panic(err)
+		jww.FATAL.Panicf("Notifications loop error received: %+v", err)
 	},
 }
 
-- 
GitLab