1
0
Fork 0
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:
Evan Phoenix 2016-07-24 13:16:29 -07:00
parent 4172f42100
commit b2be09dc3d

View file

@ -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)