The personal finance app for everyone
Report ActionCable errors to Sentry
Zach Gollwitzer087dd720c181
diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rbindex 0ff5442f..8415947f 100644--- a/app/channels/application_cable/connection.rb+++ b/app/channels/application_cable/connection.rb@@ -1,4 +1,10 @@module ApplicationCableclass Connection < ActionCable::Connection::Base+ rescue_from StandardError, with: :report_error++ private+ def report_error(e)+ Sentry.capture_exception(e)+ endendend