Sha256: 0637df805681cea3001d04b8ddc0e838004b1411e7378807c6eb20826151cb65
Contents?: true
Size: 421 Bytes
Versions: 24
Compression:
Stored size: 421 Bytes
Contents
class IgnoredError < RuntimeError end class IgnoreClassesController < ActionController::Base protect_from_forgery def index render json: {} end def initializer Bugsnag.notify(IgnoredError.new) render json: {} end def after Bugsnag.configure do |conf| conf.ignore_classes << Kernel.const_get(params[:ignore]) end Bugsnag.notify(IgnoredError.new) render json: {} end end
Version data entries
24 entries across 12 versions & 1 rubygems