Cut down unnecessary logging (#48)

* Cut down unnecessary logging

* fix format etc

* fix checks

* fix tests
This commit is contained in:
Harvey
2026-04-14 00:02:38 +01:00
committed by GitHub
parent 0f25ebc26d
commit a69a26852e
103 changed files with 127 additions and 1343 deletions
@@ -264,7 +264,6 @@ class NavidromeRepository:
await self._request("/rest/ping")
return True
except Exception: # noqa: BLE001
logger.debug("Navidrome ping failed", exc_info=True)
_record_degradation("Navidrome ping failed")
return False
@@ -537,7 +536,6 @@ class NavidromeRepository:
await self._request("/rest/scrobble", params)
return True
except Exception: # noqa: BLE001
logger.warning("Navidrome scrobble failed", exc_info=True)
_record_degradation("Navidrome scrobble failed")
return False
@@ -547,7 +545,6 @@ class NavidromeRepository:
await self._request("/rest/scrobble", params)
return True
except Exception: # noqa: BLE001
logger.warning("Navidrome now-playing report failed", exc_info=True)
_record_degradation("Navidrome now-playing report failed")
return False