diff options
author | elijah <elijah@riseup.net> | 2014-10-30 23:59:35 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-10-30 23:59:35 -0700 |
commit | 1d7cba188444bdf65b7c5434699cfdb4bad24f73 (patch) | |
tree | d3bd4d33103a175d52b53e7c6a463b22b2f9abb8 /lib | |
parent | b5046d33cedd32fba04b079fe674eab6c7e60532 (diff) | |
download | leap_cli-1d7cba188444bdf65b7c5434699cfdb4bad24f73.tar.gz leap_cli-1d7cba188444bdf65b7c5434699cfdb4bad24f73.tar.bz2 |
don't change log level to 3 when in bail!{} block
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/util.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb index 19930d2..43ff6f2 100644 --- a/lib/leap_cli/util.rb +++ b/lib/leap_cli/util.rb @@ -30,10 +30,7 @@ module LeapCli # def bail!(*message) if block_given? - level = LeapCli.log_level - LeapCli.set_log_level(3) yield - LeapCli.set_log_level(level) elsif message log 0, *message end |