lib/heavylog.rb in heavylog-0.0.18 vs lib/heavylog.rb in heavylog-0.0.19

- old
+ new

@@ -137,10 +137,10 @@ }.merge(RequestStore.store[:heavylog_request_data] || {}) formatted = Heavylog.formatter.call(request) Heavylog.logger.send(Heavylog.log_level, formatted) rescue StandardError => e - config.error_handler&.(exception: e) + config.error_handler&.(e) end def finish_sidekiq finish RequestStore.store[:heavylog_buffer] = nil