Cut down unnecessary logging (#48)
* Cut down unnecessary logging * fix format etc * fix checks * fix tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user