cortesi/mitmproxy — pull request #118 by jasonanovak (2013-04-21 17:49:00+00:00)
Title: 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 can'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.