lib/semantic_logger/appender/honeybadger.rb in semantic_logger-3.4.1 vs lib/semantic_logger/appender/honeybadger.rb in semantic_logger-4.0.0.beta1

- old
+ new

@@ -48,10 +48,10 @@ context = formatter.call(log, self) if log.exception context.delete(:exception) Honeybadger.notify(log.exception, context) else - message = { + message = { error_class: context.delete(:name), error_message: context.delete(:message), context: context } message[:backtrace] = log.backtrace if log.backtrace