Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: Add exception info to log.info call
Browse files Browse the repository at this point in the history
closes #742
  • Loading branch information
jrconlin committed Nov 22, 2016
1 parent bc4c7e1 commit b708956
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autopush/web/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ def _validation_err(self, fail):
exc = fail.value
self.log.info(format="Request validation error",
status_code=exc.status_code,
errno=exc.errno)
errno=exc.errno,
message=exc.message or "No message",
client_info=self._client_info)
self._write_response(exc.status_code, exc.errno,
message="Request did not validate %s" %
(exc.message or ""),
Expand Down

0 comments on commit b708956

Please sign in to comment.