1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Enlarge the scope of catching app exceptions. Fixes #1027

This commit is contained in:
Evan Phoenix 2016-07-23 21:28:13 -07:00
parent 60fb8acb9c
commit 5bf140cac7

View file

@ -587,7 +587,7 @@ module Puma
headers = {}
res_body = ["Request was internally terminated early\n"]
rescue StandardError => e
rescue StandardError, ScriptError, SystemStackError, SecurityError, SignalException, SystemExit => e
@events.unknown_error self, e, "Rack app", env
status, headers, res_body = lowlevel_error(e, env)