lib/semantic_logger/appender/bugsnag.rb in semantic_logger-2.17.0 vs lib/semantic_logger/appender/bugsnag.rb in semantic_logger-2.18.0

- old
+ new

@@ -54,10 +54,10 @@ end # Returns [Hash] of parameters to send to Bugsnag. def default_formatter proc do |log| - h = {severity: log_level(log), tags: log.tags, class: log.name} + h = {severity: log_level(log), tags: log.tags, class: log.name} h[:message] = log.message if log.exception h.merge!(log.payload) if log.payload h end end