diff --git a/src/Mod/CAM/InitGui.py b/src/Mod/CAM/InitGui.py index 1aa7cfb7a8..6bc0ed8ffe 100644 --- a/src/Mod/CAM/InitGui.py +++ b/src/Mod/CAM/InitGui.py @@ -164,6 +164,12 @@ class CAMWorkbench(Workbench): toolcmdlist.append("CAM_Camotics") except (FileNotFoundError, ModuleNotFoundError): pass + except subprocess.CalledProcessError as e: + print(f"Failed to execute camotics command: {e}") + except ValueError as ve: + print(f"Version error: {ve}") + except Exception as ex: + print(f"An unexpected error occurred: {ex}") try: try: