logging tweaks

This commit is contained in:
Noah Levitt 2016-07-28 10:19:30 -05:00
parent dd2d8c89e3
commit b2b07b79a9
3 changed files with 33 additions and 25 deletions

View file

@ -445,7 +445,9 @@ compileOutlinks(window).join(' ');
try:
self._handle_message(websock, message)
except:
self.logger.error("uncaught exception in _handle_message", exc_info=True)
self.logger.error(
"uncaught exception in _handle_message message=%s",
message, exc_info=True)
self.abort_browse_page()
def _network_request_will_be_sent(self, message):