lib/semantic_logger/appender/bugsnag.rb in semantic_logger-4.1.0 vs lib/semantic_logger/appender/bugsnag.rb in semantic_logger-4.1.1
- old
+ new
@@ -36,10 +36,10 @@
super(level: level, formatter: formatter, filter: filter, application: application, host: host, &block)
end
# Returns [Hash] of parameters to send to Bugsnag.
def call(log, logger)
- h = SemanticLogger::Formatters::Raw.new.call(log, logger)
+ h = SemanticLogger::Formatters::Raw.new.call(log, logger)
h[:severity] = log_level(log)
h.delete(:message) if h[:exception] && (h[:message] == h[:exception][:message])
h.delete(:time)
h.delete(:exception)
h