lib/zold/verbose_thread.rb in zold-0.11.6 vs lib/zold/verbose_thread.rb in zold-0.11.7
- old
+ new
@@ -32,10 +32,11 @@
end
def run(safe = false)
yield
rescue StandardError => e
- @log.error("#{e.class.name}: #{e.message} #{e.backtrace.join("\n\t")}")
+ @log.error("#{e.class.name}: #{e.message}")
+ @log.debug(e.backtrace.join("\n\t"))
raise e unless safe
end
end
end