Sha256: 951b0488cea20343d7c210aa588c41dbcbfd66dd7b7f34e79646184ae5f68833
Contents?: true
Size: 701 Bytes
Versions: 6
Compression:
Stored size: 701 Bytes
Contents
Puma ==== Installation ------------ Install the SDK via Rubygems by adding it to your ``Gemfile``: .. sourcecode:: ruby gem "sentry-raven" Configuration ------------- Puma provides a config option for handling low level errors. .. sourcecode:: ruby # in your puma.rb config lowlevel_error_handler do |ex, env| Raven.capture_exception( ex, :message => ex.message, :extra => { :puma => env }, :transaction => "Puma" ) # note the below is just a Rack response [500, {}, ["An error has occurred, and engineers have been informed. Please reload the page. If you continue to have problems, contact support@example.com\n"]] end
Version data entries
6 entries across 6 versions & 3 rubygems