Skip to content

Commit

Permalink
Include request URL in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
wosc committed Jul 8, 2015
1 parent 1864a3c commit 79011d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,4 @@ Kyle Mulka <[email protected]>
Marc Abramowitz <[email protected]>
Hebert J <[email protected]>
Kevin Littlejohn <[email protected]>
Wolfgang Schnerring <[email protected]>
2 changes: 1 addition & 1 deletion gunicorn/workers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def handle_error(self, req, client, addr, exc):
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"
Expand Down

0 comments on commit 79011d0

Please sign in to comment.