mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
chore: error handling
This commit is contained in:
1 parent
0084af4959
commit
9d14b7f219
1 file changed
+2
-2
@@ -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)
|
||||
Reference in new issue
Block a user