You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
DEPRECATION WARNING: The information presented on this page is related to Airbrake v4 only. If you seek for information for Airbrake v5, please refer to our README!
In order to use airbrake in a non-Rails rack app, just load
airbrake, configure your API key, and use the Airbrake::Rack
middleware:
require'rack'require'airbrake'Airbrake.configuredo |config|
config.api_key='my_api_key'## can also set the environment over here config.environment_name=ENV['RACK_ENV'] || "development"endapp=Rack::Builder.appdorunlambda{ |env| raise"Rack down"}enduseAirbrake::Rackrunapp