Sha256: d88dcebe7f748763e78e41d725d4ee8225a304462594991601b9cb4d648a80ec
Contents?: true
Size: 538 Bytes
Versions: 17
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true module Airbrake module Rails module ActionCable # @since v8.3.0 # @api private class NotifyCallback def self.call(channel, block) block.call rescue Exception => ex # rubocop:disable Lint/RescueException notice = Airbrake.build_notice(ex) notice[:context][:component] = 'action_cable' notice[:context][:action] = channel.channel_name Airbrake.notify(notice) raise ex end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems