chore: add logging when opening options page

This commit is contained in:
aclist committed 2026-06-20 19:45:27 +09:00
1 parent 5e3392ddec
commit fa8792ba69
2 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -392,7 +392,7 @@ class Options(Gtk.Box):
if prefs.paths.config.is_file() is False:
dialog = ExceptionDialog(self.controller, strings.config_not_found)
dialog.run()
raise Exception
raise OSError(f"Config file '{prefs.paths.config}' not found")
config = query.get_config(prefs.paths.config)