mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Extra log (#2891)
* logging full backtrace * added the exception message to log * Logging the error first; formatting backtrace
This commit is contained in:
parent
dfe46adc3e
commit
2a694a341b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue