lib/twiglet/logger.rb in twiglet-3.2.5 vs lib/twiglet/logger.rb in twiglet-3.3.0
- old
+ new
@@ -68,9 +68,9 @@
alias_method :critical, :fatal
private
def add_stack_trace(hash_to_add_to, error)
- hash_to_add_to[:error][:stack_trace] = error.backtrace.join("\n") if error.backtrace
+ hash_to_add_to[:error][:stack_trace] = error.backtrace if error.backtrace
end
end
end