lib/semantic_logger/appender/honeybadger.rb in semantic_logger-4.1.1 vs lib/semantic_logger/appender/honeybadger.rb in semantic_logger-4.2.0
- old
+ new
@@ -39,11 +39,9 @@
super(level: level, formatter: formatter, filter: filter, application: application, host: host, &block)
end
# Send an error notification to honeybadger
def log(log)
- return false unless should_log?(log)
-
context = formatter.call(log, self)
if log.exception
context.delete(:exception)
Honeybadger.notify(log.exception, context)
else