1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-03 20:45:21 +02:00
Maybe/app/channels/application_cable/connection.rb

11 lines
221 B
Ruby
Raw Normal View History

2024-02-02 09:05:04 -06:00
module ApplicationCable
class Connection < ActionCable::Connection::Base
2025-03-17 17:26:19 -04:00
rescue_from StandardError, with: :report_error
private
def report_error(e)
Sentry.capture_exception(e)
end
2024-02-02 09:05:04 -06:00
end
end