Skip to content

Commit 30fda47

Browse files
committed
Refactor logging in discovery tracker to use debug level for no wanted episodes found message, enhancing log clarity and reducing warning noise.
1 parent 31c8bc4 commit 30fda47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primary/discovery_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_sonarr_wanted_episodes(instance: Dict[str, Any]) -> List[Dict[str, Any]]
100100
logger.info(f"Retrieved {len(response['records'])} wanted episodes from Sonarr instance: {instance.get('name', 'Unknown')}")
101101
return response["records"]
102102
else:
103-
logger.warning(f"No wanted episodes found for Sonarr instance: {instance.get('name', 'Unknown')}")
103+
logger.debug(f"No wanted episodes found for Sonarr instance: {instance.get('name', 'Unknown')}")
104104
return []
105105

106106
except Exception as e:

0 commit comments

Comments
 (0)