chore: format exceptions with type

This commit is contained in:
aclist committed 2026-06-06 17:50:32 +09:00
1 parent 83a7996189
commit 2419fedd19
5 files changed
+14 -6

No files matched your search

+3 -1
View File
@@ -11,6 +11,7 @@ from dzgui.const.constants import (
)
from dzgui.const.enum import FilterMode
from dzgui.model.servers import ServerModelManager
from dzgui.util.format import format_exception
from dzgui.util.strings import all_maps
from dzgui.views.components.maps_combo import MapsCombo
from dzgui.views.components.labels import BoldLabel
@@ -338,4 +339,5 @@ class FilterPanel(Gtk.Box):
label = check.get_label()
check.set_active(filters[label])
except Exception as e:
logger.warning(e)
msg = format_exception(e)
logger.warning(msg)