From 9d14b7f219108abac06e40e55226e5decaad2c61 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sat, 11 Jul 2026 16:32:52 +0900 Subject: [PATCH] chore: error handling --- dzgui/api/shortcuts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dzgui/api/shortcuts.py b/dzgui/api/shortcuts.py index 411b2a9..87fd534 100644 --- a/dzgui/api/shortcuts.py +++ b/dzgui/api/shortcuts.py @@ -57,7 +57,7 @@ class Shortcuts: shortcuts = vdf.binary_load(f) self.shortcuts = shortcuts except Exception as e: - logger.warning(e) + logger.critical(e) raise e def add_shortcut( @@ -163,4 +163,4 @@ def add_steam_shortcut(steam_path: Path, exe_path: Path) -> None: copy_dzgui_to_xdg_data(exe_path) except Exception as e: - logger.warning(e) + logger.critical(e)