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
|