🐛 | Fix SonarQube dead code and improve coverage
All checks were successful
SonarQube Code Quality Scan / SonarQube Scan (push) Successful in 1m43s

This commit is contained in:
2026-06-04 18:45:59 +03:00
parent daf9c5739c
commit 1f5d8dca0c
3 changed files with 52 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ class DiscordRPC:
log.warning("Discord not running RPC unavailable")
self._connected = False
return False
except (OSError, RuntimeError, DiscordNotFound) as exc:
except (OSError, RuntimeError) as exc:
log.debug("Discord RPC connect failed: %s", exc)
self._connected = False
return False