mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
show error.to_s along with backtrace for low-level error
This commit is contained in:
parent
56a6e2fa74
commit
b93e3157f9
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ module Puma
|
|||
# A fallback rack response if +@app+ raises as exception.
|
||||
#
|
||||
def lowlevel_error(e)
|
||||
[500, {}, ["Puma caught this error:\n#{e.backtrace.join("\n")}"]]
|
||||
[500, {}, ["Puma caught this error: #{e}\n#{e.backtrace.join("\n")}"]]
|
||||
end
|
||||
|
||||
# Wait for all outstanding requests to finish.
|
||||
|
|
Loading…
Add table
Reference in a new issue