aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console_help.py
diff options
context:
space:
mode:
authorJason A. Novak <janovak@uchicago.edu>2013-04-21 12:46:37 -0500
committerJason A. Novak <janovak@uchicago.edu>2013-04-21 12:46:37 -0500
commitf78dada550dac02ea1dc69a7a00fcdfc7a8c996f (patch)
treee2e0a7b75428573f01343083ad9e68e259f6c63f /test/test_console_help.py
parent61c794e08f7b2359f3a7a7658840d3f26db25e16 (diff)
downloadmitmproxy-f78dada550dac02ea1dc69a7a00fcdfc7a8c996f.tar.gz
mitmproxy-f78dada550dac02ea1dc69a7a00fcdfc7a8c996f.tar.bz2
mitmproxy-f78dada550dac02ea1dc69a7a00fcdfc7a8c996f.zip
Add error checking to ViewProtobuf
There are protobufs that protoc can't parse. When protoc --decode_raw fails, it returns nothing to stdin, and writes "Failed to parse input." to stderr. Before this commit, if protoc --decode_raw couldn't parse the protobuf, the blank stdout output would get returned to the view; with this commit stderr gets caught and returned to the view.
Diffstat (limited to 'test/test_console_help.py')
0 files changed, 0 insertions, 0 deletions