ErrorApp
This is the notifier gem for integrating apps with ErrorApp.
When an exception occurs, ErrorappNotifier will POST the relevant data to the ErrorApp server specified in your environment.
Rails Installation
Add the ErrorappNotifier gem to your gemfile:
ruby
gem 'errorapp_notifier'
Install the gem
ruby
bundle install
Then run the our generator which will create a initializer file
errorapp_notifier.rb
ruby
rails generate errorapp_notifier --api_key <Your Project Api Key>
OR you can manually create initializer file and put below code snippet in that file
ruby
ErrorappNotifier.configure do|config|
config.api_key = 'api key'
end
Testing Integration
To test that errorapp_notifier is properly installed run below rake task
ruby
rake errorapp_notifier:test_exception
A test exception will be sent to your ErrorApp dashboard if everything is configured correctly.
Contributing
- Fork it.
- Create a topic branch
git checkout -b my_branch
- Commit your changes
git commit -am "Boom"
- Push to your branch
git push origin my_branch
- Send a pull request
Credits
Idea from various Apps.
Thanks to
- Airbrake
- Exceptional
License
ErrorApp is Copyright 2014 © ErrorApp. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.