https://github.com/ankane/errbase
Common exception reporting for a variety of services
https://github.com/ankane/errbase
Last synced: 11 months ago
JSON representation
Common exception reporting for a variety of services
- Host: GitHub
- URL: https://github.com/ankane/errbase
- Owner: ankane
- License: mit
- Archived: true
- Created: 2014-08-12T07:04:05.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T01:00:16.000Z (about 3 years ago)
- Last Synced: 2025-07-09T09:48:14.321Z (11 months ago)
- Language: Ruby
- Size: 36.1 KB
- Stars: 86
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Errbase
Errbase has been merged into [Safely](https://github.com/ankane/safely) - use that instead.
---
Common exception reporting for a variety of services
Libraries are automatically detected. Supports:
- [Airbrake](https://airbrake.io/)
- [Appsignal](https://appsignal.com/)
- [Bugsnag](https://bugsnag.com/)
- [Exception Notification](https://github.com/smartinez87/exception_notification)
- [Google Stackdriver](https://cloud.google.com/stackdriver/)
- [Honeybadger](https://www.honeybadger.io/)
- [New Relic](https://newrelic.com/)
- [Raygun](https://raygun.io/)
- [Rollbar](https://rollbar.com/)
- [Scout APM](https://scoutapm.com/)
- [Sentry](https://getsentry.com/)
```ruby
begin
# code
rescue => e
Errbase.report(e)
end
```
You can add extra context with:
```ruby
Errbase.report(e, {username: "hello"})
```
> Context is not supported for Google Stackdriver
[](https://github.com/ankane/errbase/actions)
## Installation
Errbase is designed to be used as a dependency.
Add this line to your gemspec:
```ruby
spec.add_dependency "errbase"
```
## Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- [Report bugs](https://github.com/ankane/errbase/issues)
- Fix bugs and [submit pull requests](https://github.com/ankane/errbase/pulls)
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development:
```sh
git clone https://github.com/ankane/errbase.git
cd errbase
bundle install
bundle exec rake test
```