-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,15 +210,3 @@ | |
# activate_control_app 'unix:///var/run/pumactl.sock' | ||
# activate_control_app 'unix:///var/run/pumactl.sock', { auth_token: '12345' } | ||
# activate_control_app 'unix:///var/run/pumactl.sock', { no_token: true } | ||
|
||
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, { 'Content-Type' => 'application/json' }, ['{"message":"An error has occurred, and engineers have been informed. Please reload the page. If you continue to have problems, contact [email protected]"}']] | ||
end |