Sha256: 722da63a0d6091fe59aa7d4eac9856368201957bd492ebab86f2c71c6f22019d
Contents?: true
Size: 532 Bytes
Versions: 24
Compression:
Stored size: 532 Bytes
Contents
class AutoNotifyController < ActionController::Base protect_from_forgery def index render json: {} end def unhandled generate_unhandled_error end def handled Bugsnag.notify("handled string") render json: {} end def unhandled_after Bugsnag.configure do |conf| conf.auto_notify = false end generate_unhandled_error end def handled_after Bugsnag.configure do |conf| conf.auto_notify = false end Bugsnag.notify("handled string") render json: {} end end
Version data entries
24 entries across 12 versions & 1 rubygems