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:
5 files changed
+27
-25
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user