diff --git a/cursorless-talon/src/apps/vscode_settings.py b/cursorless-talon/src/apps/vscode_settings.py index 9caa61c4ce..5f1ad84c42 100644 --- a/cursorless-talon/src/apps/vscode_settings.py +++ b/cursorless-talon/src/apps/vscode_settings.py @@ -61,7 +61,6 @@ def vscode_get_setting_with_fallback( return actions.user.vscode_get_setting(key, default_value), False except Exception: print(fallback_message) - traceback.print_exc() return fallback_value, True diff --git a/cursorless-talon/src/marks/decorated_mark.py b/cursorless-talon/src/marks/decorated_mark.py index 3592d4f6cc..1dd238f4a5 100644 --- a/cursorless-talon/src/marks/decorated_mark.py +++ b/cursorless-talon/src/marks/decorated_mark.py @@ -153,7 +153,11 @@ def setup_hat_styles_csv(hat_colors: dict[str, str], hat_shapes: dict[str, str]) def init_hats(hat_colors: dict[str, str], hat_shapes: dict[str, str]): setup_hat_styles_csv(hat_colors, hat_shapes) - vscode_settings_path: Path = actions.user.vscode_settings_path().resolve() + try: + vscode_settings_path: Path = actions.user.vscode_settings_path().resolve() + except Exception as ex: + print(ex) + return lambda: None def on_watch(path, flags): global fast_reload_job, slow_reload_job