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

* added the exception message to log

* Logging the error first; formatting backtrace
This commit is contained in:
gingerlime 2022-06-02 20:07:25 +02:00 committed by GitHub
parent dfe46adc3e
commit 2a694a341b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,8 @@ module Puma
server = @server ||= start_server
rescue Exception => e
log "! Unable to start worker"
log e.backtrace[0]
log e
log e.backtrace.join("\n ")
exit 1
end