Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ankane/errbase
Common exception reporting for a variety of services
https://github.com/ankane/errbase
Last synced: about 1 month 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T01:00:16.000Z (over 1 year ago)
- Last Synced: 2024-07-18T19:44:45.538Z (2 months ago)
- Language: Ruby
- Size: 36.1 KB
- Stars: 87
- Watchers: 5
- 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
[![Build Status](https://github.com/ankane/errbase/workflows/build/badge.svg?branch=master)](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 featuresTo get started with development:
```sh
git clone https://github.com/ankane/errbase.git
cd errbase
bundle install
bundle exec rake test
```