diff --git a/pontos/github/script/__init__.py b/pontos/github/script/__init__.py index 879f6a03..a87c0bb0 100644 --- a/pontos/github/script/__init__.py +++ b/pontos/github/script/__init__.py @@ -91,6 +91,9 @@ def main(): except json.JSONDecodeError: # not a json response print(e, file=sys.stderr) + except httpx.ResponseNotRead: + # a streaming response failed + print(e, file=sys.stderr) sys.exit(1) except PontosError as e: