refactor: log swallowed exceptions across src/

Replace silent swallow-excepts (pass/return/continue) with
logger.warning recording the caught error, preserving behaviour.
This commit is contained in:
sankalp committed 2026-07-14 13:02:21 +05:45
1 parent c0a4b1b792
commit f72542a231
49 files changed
+1004 -363

No files matched your search

+4 -2
View File
@@ -471,8 +471,10 @@ class PlayerBox(Box):
if "xesam:artist" in keys and metadata["xesam:artist"]
else "No Artist"
)
except Exception:
pass
except Exception as e:
logger.warning(
f"[player] metadata = self.player._player.props.metadata failed: {e}"
)
def update_buttons(self, player_buttons, show_buttons):
if show_buttons and len(player_buttons) > 1: