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

- old
+ new

@@ -49,13 +49,13 @@ context = formatter.call(log, self) if log.exception context.delete(:exception) Raven.capture_exception(log.exception, context) else - message = { + message = { error_class: context.delete(:name), error_message: context.delete(:message), - extra: context + extra: context } message[:backtrace] = log.backtrace if log.backtrace Raven.capture_message(message[:error_message], message) end true