kemal-bugsnag

Version, currently master branch1 version
  • master branchlatestMar 18, 2017

github.com/jipiboily/kemal-bugsnag

Kemal middleware that traps all exceptions, send them to Bugsnag and re-raise them

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  kemal-bugsnag:
    github: jipiboily/kemal-bugsnag
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.21.1
License
MIT
Author
Jean-Philippe Boily

Dependencies

Runtime Dependencies

  • bugsnag*github: gewo/bugsnar.cr, branch: master

README

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

  1. Fork it ( https://github.com/jipiboily/kemal-bugsnag/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • jipiboily Jean-Philippe Boily - creator, maintainer