Skip to content

Commit

Permalink
remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinxiao committed Apr 22, 2021
1 parent 99d3fcb commit f1de8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puma/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def lowlevel_error(e, env, status=500)
end

if @leak_stack_on_error
backtrace = e.backtrace.nil? ? '<no backtrace available>' : e.backtrace.join("\n")
backtrace = e.backtrace.nil? ? '<no backtrace available>' : e.backtrace.join("\n")
[status, {}, ["Puma caught this error: #{e.message} (#{e.class})\n#{backtrace}"]]
else
[status, {}, ["An unhandled lowlevel error occurred. The application logs may have details.\n"]]
Expand Down

0 comments on commit f1de8c0

Please sign in to comment.