summaryrefslogtreecommitdiff
path: root/Run/Que/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'Run/Que/client.py')
-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)