mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 12:05:19 +02:00
10 lines
221 B
Ruby
10 lines
221 B
Ruby
module ApplicationCable
|
|
class Connection < ActionCable::Connection::Base
|
|
rescue_from StandardError, with: :report_error
|
|
|
|
private
|
|
def report_error(e)
|
|
Sentry.capture_exception(e)
|
|
end
|
|
end
|
|
end
|