lib/timber/events/exception.rb in timber-1.0.13 vs lib/timber/events/exception.rb in timber-1.1.0
- old
+ new
@@ -17,10 +17,10 @@
{name: name, message: exception_message, backtrace: backtrace}
end
alias to_h to_hash
def as_json(_options = {})
- {:exception => to_hash}
+ {:server_side_app => {:exception => to_hash}}
end
def message
message = "#{name} (#{exception_message}):"
if backtrace.is_a?(Array) && backtrace.length > 0
\ No newline at end of file