Sha256: acfd32f914a2ca859dd834ef05adf83d716d45e91219f297370a3cdc2d6db462
Contents?: true
Size: 445 Bytes
Versions: 12
Compression:
Stored size: 445 Bytes
Contents
class HandledController < ActionController::Base protect_from_forgery def index render json: {} end def unthrown Bugsnag.notify(RuntimeError.new("handled unthrown error")) render json: {} end def thrown begin generate_unhandled_error rescue Exception => e Bugsnag.notify(e) end render json: {} end def string_notify Bugsnag.notify("handled string") render json: {} end end
Version data entries
12 entries across 12 versions & 1 rubygems