kemal-bugsnag
Adds bugsnag.cr plus a middleware for Kemal that will catch all exceptions in Kemal.
Installation
Add this to your application's shard.yml
:
dependencies:
kemal-bugsnag:
github: jipiboily/kemal-bugsnag
then just add require "kemal-bugsnag"
in your app.
Next and final step is to configure bugsnag.cr itself.
You can either set the BUGSNAG_KEY
environment variable
or add
require "bugsnag"
Bugsnag.configure do |config|
config.api_key = "YOUR_API_KEY_HERE"
end
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/jipiboily/kemal-bugsnag/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- jipiboily Jean-Philippe Boily - creator, maintainer