From b708956b5819eb70bb0bdb83de58d9e4cd701e34 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Tue, 22 Nov 2016 09:58:35 -0800 Subject: [PATCH] fix: Add exception info to log.info call closes #742 --- autopush/web/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autopush/web/base.py b/autopush/web/base.py index a0c5939f..20f83997 100644 --- a/autopush/web/base.py +++ b/autopush/web/base.py @@ -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 ""),