feat(src/services): improve error handlingwith detailed logging

Replace silent exception swallowing with explicit logging via logger.error to aid debugging and observability
This commit is contained in:
sankalp committed 2026-06-17 05:20:44 +05:45
1 parent 260d215b6b
commit 48231b3bc2
5 files changed
+27 -25

No files matched your search

+2 -2
View File
@@ -86,8 +86,8 @@ class ConfigService:
for monitor in self._monitors:
try:
monitor.cancel()
except Exception:
pass
except Exception as e:
logger.error(f"An error occurred: {e}")
self._monitors.clear()
def _load_config(self) -> None: