mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
11 lines
221 B
Ruby
11 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
|