Reference documentation and code samples for the Error Reporting API class Google::Cloud::ErrorReporting::Railtie.
Railtie
Google::Cloud::ErrorReporting::Railtie automatically add the
Middleware to Rack in a Rails
environment. It will automatically capture Exceptions from the Rails app
and report them to the Error Reporting service.
The Middleware is only added when certain conditions are met. See
Google::Cloud.configure.use_error_reporting for detail.
When loaded, the Middleware will be
inserted after ActionDispatch::DebugExceptions or
ActionDispatch::ShowExceptions Middleware, which allows it to intercept
and handle all Exceptions without interfering with Rails's normal error
pages.
See the Configuration
Guide
on how to configure the Railtie and Middleware.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]