fix(osd): log exception when removing hide timer source

except Exception: pass was hiding stale ID errors.
This commit is contained in:
sankalp committed 2026-07-18 14:14:16 +05:45
1 parent 4d90a1ab52
commit 71c9d30c2c
1 file changed
+2 -2
+2 -2
View File
@@ -73,8 +73,8 @@ class BaseOSDContainer(Box):
if self._hide_timer_id is not None:
try:
GLib.source_remove(self._hide_timer_id)
except Exception:
pass
except Exception as e:
logger.debug(f"[osd_base] Failed to remove hide timer {self._hide_timer_id}: {e}")
self._hide_timer_id = None
def hide_window(self):