Skip to content

Commit

Permalink
envoy.base.utils/
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed Jun 16, 2022
1 parent 1962efa commit 7da29ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion envoy.base.utils/envoy/base/utils/abstract/protobuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ async def process(self, request: argparse.Namespace) -> None:
self._process_item(infile, outfile)

def _output(self, infile: str) -> str:
return self.plugin(self.proto_set[infile])[".types.pb_text"]
try:
return self.plugin(self.proto_set[infile])[".types.pb_text"]
except:
return ""

def _process_item(self, infile: str, outfile: pathlib.Path) -> None:
outfile.parent.mkdir(exist_ok=True, parents=True)
Expand Down

0 comments on commit 7da29ac

Please sign in to comment.