We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the Airbrake Ruby gem to your Gemfile:
gem 'airbrake-ruby', '~> 2.12'
Invoke the following command from your terminal:
gem install airbrake-ruby
Just require the library and copy this configuration snippet into your Ruby project:
require
(You can find your project ID and API key with your project's settings):
require 'airbrake-ruby' Airbrake.configure do |c| c.project_id = <Your project ID> c.project_key = '<Your project API KEY>' end
Uncaught errors are automatically sent to Airbrake. Caught errors can be sent to Airbrake using the notify method:
notify
begin 1/0 rescue ZeroDivisionError => ex Airbrake.notify(ex) end
For in depth examples and advanced configuration options like error filtering or custom parameters, please visit our official GitHub repo.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Installation
Option 1: Bundler
Add the Airbrake Ruby gem to your Gemfile:
Option 2: Manual
Invoke the following command from your terminal:
Configuration
Just
require
the library and copy this configuration snippet into your Ruby project:(You can find your project ID and API key with your project's settings):
Uncaught errors are automatically sent to Airbrake. Caught errors can be sent to Airbrake using the
notify
method:Configuration
For in depth examples and advanced configuration options like error filtering or custom parameters, please visit our official GitHub repo.
The text was updated successfully, but these errors were encountered: