We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b42c61c commit 011ef5bCopy full SHA for 011ef5b
1 file changed
pybricksdev/cli/__init__.py
@@ -351,6 +351,10 @@ async def reconnect_hub():
351
case _:
352
return
353
354
+ except SyntaxError as e:
355
+ print("There was a syntax error in your file:")
356
+ print(e, "\n")
357
+
358
except HubPowerButtonPressedError:
359
# This means the user pressed the button on the hub to re-start the
360
# current program, so the menu was canceled and we are now printing
0 commit comments