diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-08 15:23:56 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-08 15:23:56 +1200 |
commit | 317db546667592c5ebbd2249b775ff32f16a5b13 (patch) | |
tree | 35ad1e53ea47baa8d82895a391473fd064ff5434 /libpathod/pathod.py | |
parent | af22814bc34ab9521def8d190e555364b93dc8be (diff) | |
download | mitmproxy-317db546667592c5ebbd2249b775ff32f16a5b13.tar.gz mitmproxy-317db546667592c5ebbd2249b775ff32f16a5b13.tar.bz2 mitmproxy-317db546667592c5ebbd2249b775ff32f16a5b13.zip |
Revamp timeout handling and test logging
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r-- | libpathod/pathod.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py index 3c42573d..13f602b4 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -133,7 +133,8 @@ class PathodHandler(tcp.BaseHandler): try: wf_gen = language.parse_websocket_frame(nest) except language.exceptions.ParseException, v: - lg( + log.write( + self.logfp, "Parse error in reflected frame specifcation:" " %s" % v.msg ) |