mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #1071 from wosc/1061-log-uri
Include request URL in error message.
This commit is contained in:
commit
27df1339ce
1
THANKS
1
THANKS
@ -158,3 +158,4 @@ Kyle Mulka <repalviglator@yahoo.com>
|
||||
Marc Abramowitz <msabramo@gmail.com>
|
||||
Hebert J <hebert@mail.ru>
|
||||
Kevin Littlejohn <kevin@littlejohn.id.au>
|
||||
Wolfgang Schnerring <wosc@wosc.de>
|
||||
|
||||
@ -210,7 +210,7 @@ class Worker(object):
|
||||
msg = "Invalid request from ip={ip}: {error}"
|
||||
self.log.debug(msg.format(ip=addr[0], error=str(exc)))
|
||||
else:
|
||||
self.log.exception("Error handling request")
|
||||
self.log.exception("Error handling request %s", req.uri)
|
||||
|
||||
status_int = 500
|
||||
reason = "Internal Server Error"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user