bin/oxidized in oxidized-0.29.1 vs bin/oxidized in oxidized-0.30.0
- old
+ new
@@ -1,14 +1,11 @@
#!/usr/bin/env ruby
-# FIX ME, killing oxidized needs -9
-trap("INT") { exit } # sinatra will otherwise steal this from us
-
begin
require_relative '../lib/oxidized/cli'
Oxidized::CLI.new.run
-rescue StandardError => error
- warn error.to_s
+rescue StandardError => e
+ warn e
debug = Oxidized.config.debug rescue true
raise if debug
exit 1
end