Merge pull request #1071 from wosc/1061-log-uri

Include request URL in error message.
This commit is contained in:
Benoit Chesneau 2015-07-08 20:55:34 +02:00
commit 27df1339ce
2 changed files with 2 additions and 1 deletions

1
THANKS
View File

@ -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>

View File

@ -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"