refactor(src/shared): replace print statements with logger.error

Use centralized logging instead of stdout prints to improve observability and consistency
This commit is contained in:
sankalp committed 2026-06-17 05:21:02 +05:45
1 parent 48231b3bc2
commit 1aed6ea816
6 files changed
+26 -20

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
from fabric.utils import logger
from fabric.widgets.box import Box
from fabric.widgets.centerbox import CenterBox
from fabric.widgets.eventbox import EventBox
@@ -87,7 +88,7 @@ class ModusDropdown(AppletWindow):
try:
modus_service.disconnect_by_func(self.hide_dropdown)
except Exception:
pass
except Exception as e:
logger.error(f"An error occurred: {e}")
super().destroy()