summaryrefslogtreecommitdiff
path: root/Run
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-01 17:45:16 -0700
committerBen Sima <ben@bsima.me>2020-04-01 18:34:27 -0700
commita387ebed24a38d2bbbea4a9948440c3ac2dda18a (patch)
tree1256b64b34c6460b6ce8ecc89baf70790d681c61 /Run
parent67303d8890806a817e5eef34582900f37d5c03eb (diff)
Don't print stacktraces for a few of these errors
Diffstat (limited to 'Run')
-rwxr-xr-xRun/Que/client.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Run/Que/client.py b/Run/Que/client.py
index 8058a05..8d90e7a 100755
--- a/Run/Que/client.py
+++ b/Run/Que/client.py
@@ -93,3 +93,9 @@ if __name__ == "__main__":
except KeyboardInterrupt:
print("Interrupted")
sys.exit(0)
+ except urllib.error.HTTPError as e:
+ print(e)
+ sys.exit(1)
+ except http.client.IncompleteRead as e:
+ print(e)
+ sys.exit(1)