lib/wat_catcher/report.rb in wat_catcher-0.10.7 vs lib/wat_catcher/report.rb in wat_catcher-0.10.8

- old
+ new

@@ -11,10 +11,10 @@ log_report end def send_report return if WatCatcher.configuration.disabled - ::WatCatcher::SidekiqPoster.perform_async("#{WatCatcher.configuration.host}/wats", params) + ::WatCatcher::Poster.perform_later("#{WatCatcher.configuration.host}/wats", params.as_json) end def log_report return if WatCatcher.configuration.disabled Rails.logger.error( "WatCatcher::error: " + base_description.tap {|x| x.delete(:rails_root) }.to_json )