Sha256: 95a0c2347542f2c614789998f42587bb9cbcbb99309d3f1786359abeced6cff8
Contents?: true
Size: 382 Bytes
Versions: 19
Compression:
Stored size: 382 Bytes
Contents
class IgnoredError < RuntimeError end class IgnoreClassesController < ActionController::Base protect_from_forgery 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
19 entries across 12 versions & 1 rubygems