We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf6170 commit a03c267Copy full SHA for a03c267
assets/runtime/config/gitlabhq/puma.rb
@@ -85,3 +85,12 @@
85
log_formatter do |str|
86
json_formatter.call(str)
87
end
88
+
89
+lowlevel_error_handler do |ex, env|
90
+ if Raven.configuration.capture_allowed?
91
+ Raven.capture_exception(ex, tags: { 'handler': 'puma_low_level' }, extra: { puma_env: env })
92
+ end
93
94
+ # note the below is just a Rack response
95
+ [500, {}, ["An error has occurred and reported in the system's low-level error handler."]]
96
+end
0 commit comments