lib/backtracer_simple.rb in backtracer-0.6.2 vs lib/backtracer_simple.rb in backtracer-0.6.3
- old
+ new
@@ -3,8 +3,8 @@
if $!
puts "==== "
puts $!.backtrace.join("\n")
puts "===="
else
- puts "(no exception detected)"
+ puts "(no exception detected)" if $DEBUG
end
}