lib/cc/cli/runner.rb in codeclimate-0.17.0 vs lib/cc/cli/runner.rb in codeclimate-0.18.0

- old
+ new

@@ -8,12 +8,10 @@ def self.run(argv) new(argv).run rescue => ex $stderr.puts("error: (#{ex.class}) #{ex.message}") - if ENV["CODECLIMATE_DEBUG"] - $stderr.puts("backtrace: #{ex.backtrace.join("\n\t")}") - end + CLI.debug("backtrace: #{ex.backtrace.join("\n\t")}") end def initialize(args) SafeYAML::OPTIONS[:default_mode] = :safe