Author: tmckay Date: 2014-02-10 16:44:44 +0000 (Mon, 10 Feb 2014) New Revision: 5797
Modified: branches/statusquo/wooly/python/wooly/server.py Log: Add debug log entry for uncaught exceptions in wooly/server.py BZ1058871
Modified: branches/statusquo/wooly/python/wooly/server.py =================================================================== --- branches/statusquo/wooly/python/wooly/server.py 2014-01-15 21:39:19 UTC (rev 5796) +++ branches/statusquo/wooly/python/wooly/server.py 2014-02-10 16:44:44 UTC (rev 5797) @@ -174,7 +174,8 @@ else: headers.append(("Location", page.validate_redirect(session, e.url, env))) - except: + except Exception: + log.debug("Exception in wooly/server.py, generating redirect or Internal Error", exc_info=True) url = page.redirect_on_exception(session) if url: status = "303 See Other"
cumin-developers@lists.fedorahosted.org