We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba869c4 commit 282bda7Copy full SHA for 282bda7
1 file changed
client/chat_client.py
@@ -18,7 +18,7 @@ def thread_output(text_area):
18
while True:
19
try:
20
state = game.state()
21
- except Exception as e:
+ except GameServerError as e:
22
print(e)
23
window.destroy()
24
@@ -54,7 +54,9 @@ def entry_handler(_):
54
55
56
game.move(message=message)
57
+ except IllegalMove as e:
58
+ print(e)
59
60
61
raise e
62
0 commit comments