lib/ratchetio/rails/middleware/exception_catcher.rb in ratchetio-0.2.1 vs lib/ratchetio/rails/middleware/exception_catcher.rb in ratchetio-0.3.0

- old
+ new

@@ -10,10 +10,10 @@ # wrap everything in a begin-rescue block begin controller = env['action_controller.instance'] request_data = controller.try(:ratchetio_request_data) person_data = controller.try(:ratchetio_person_data) - Ratchetio.report_request_exception(env, exception, request_data, person_data) + Ratchetio.report_exception(exception, request_data, person_data) rescue Exception => exc # TODO use logger here? puts "[Ratchet.io] Exception while reporting exception to Ratchet.io: " puts exc end