mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Just rescue exception to return a 500. Fixes #1027
This commit is contained in:
parent
4172f42100
commit
b2be09dc3d
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ module Puma
|
|||
headers = {}
|
||||
res_body = ["Request was internally terminated early\n"]
|
||||
|
||||
rescue StandardError, ScriptError, SystemStackError, SecurityError, SignalException, SystemExit => e
|
||||
rescue Exception => e
|
||||
@events.unknown_error self, e, "Rack app", env
|
||||
|
||||
status, headers, res_body = lowlevel_error(e, env)
|
||||
|
|
Loading…
Add table
Reference in a new issue