bin/proxy_tester in proxy_tester-0.0.1 vs bin/proxy_tester in proxy_tester-0.0.2

- old
+ new

@@ -6,6 +6,17 @@ begin ProxyTester::Cli::Main.start rescue StandardError => e ProxyTester::Actions::HandleError.new(e).run +rescue Interrupt => e + ProxyTester::Actions::HandleError.new(e).run +rescue SignalException => e + exception = case e.signm + when 'SIGTERM' + ProxyTester::Exceptions::SIGTERM.new(e.message) + else + e + end + + ProxyTester::Actions::HandleError.new(exception).run end