From 56432a92df528a2f1b465b2c32a8810ca67ade01 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 15 Nov 2021 16:50:11 -0500 Subject: [PATCH] Show backtrace and bail out hard on panic --- lib/blather_notify.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/blather_notify.rb b/lib/blather_notify.rb index 7ecb9de..0b284f4 100644 --- a/lib/blather_notify.rb +++ b/lib/blather_notify.rb @@ -28,7 +28,8 @@ module BlatherNotify def self.panic(e) warn e.message - exit 2 + warn e.backtrace + exit! 2 end def self.wait_then_exit -- 2.45.2