Skip to content

Commit ab5fa4e

Browse files
authored
Apply suggestions from code review
Signed-off-by: retek <[email protected]>
1 parent 2f0f3fa commit ab5fa4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scratchattach/cloud/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def connect(self):
350350
if self.print_connect_message:
351351
print("Connected to cloud server ", self.cloud_host)
352352
except WebSocketBadStatusException as e:
353-
print(f"Error: {e} --- Scratch's Cloud system may be down. Please try again later.")
353+
raise WebSocketBadStatusException(f"Error: Scratch's Cloud system may be down. Please try again later.") from e
354354
def disconnect(self):
355355
self.active_connection = False
356356
if self.recorder is not None:

0 commit comments

Comments
 (0)