Sha256: 603108ebcbb1f15bc8390ef27684422850abdd3a8b01c691a20d2f5529f511bc
Contents?: true
Size: 697 Bytes
Versions: 6
Compression:
Stored size: 697 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 }, :culprit => "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 & 1 rubygems