We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f0f3fa commit ab5fa4eCopy full SHA for ab5fa4e
scratchattach/cloud/_base.py
@@ -350,7 +350,7 @@ def connect(self):
350
if self.print_connect_message:
351
print("Connected to cloud server ", self.cloud_host)
352
except WebSocketBadStatusException as e:
353
- print(f"Error: {e} --- Scratch's Cloud system may be down. Please try again later.")
+ raise WebSocketBadStatusException(f"Error: Scratch's Cloud system may be down. Please try again later.") from e
354
def disconnect(self):
355
self.active_connection = False
356
if self.recorder is not None:
0 commit comments