From 642aad19ba1d06ec4c8e9e51ebf46573d2d2110f Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Tue, 2 Aug 2016 21:30:40 +0300 Subject: Fix raising traceback which happen before config closes #518 --- bin/oxidized | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/oxidized') diff --git a/bin/oxidized b/bin/oxidized index 2695a52..7a0b03d 100755 --- a/bin/oxidized +++ b/bin/oxidized @@ -9,5 +9,6 @@ begin Oxidized::CLI.new.run rescue => error warn "#{error}" - raise if Oxidized.config.debug + debug = Oxidied.config.debug rescue true + raise if debug end -- cgit v1.2.1