diff options
Diffstat (limited to 'config/puma.rb.example')
-rw-r--r-- | config/puma.rb.example | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/puma.rb.example b/config/puma.rb.example index 07a6f6a2501..d664986174b 100644 --- a/config/puma.rb.example +++ b/config/puma.rb.example @@ -86,6 +86,10 @@ lowlevel_error_handler do |ex, env| Raven.capture_exception(ex, tags: { 'handler': 'puma_low_level' }, extra: { puma_env: env }) end + if Sentry.configuration.sending_allowed? + Sentry.capture_exception(ex, tags: { 'handler': 'puma_low_level' }, extra: { puma_env: env }) + end + # note the below is just a Rack response [500, {}, ["An error has occurred and reported in the system's low-level error handler."]] end |