Improved logging futher and updated some methods to use LogDebugInformation and to handle exceptions

This commit is contained in:
2026-01-25 08:58:46 -07:00
parent 4fc8b4799d
commit 82441d5247
4 changed files with 47 additions and 15 deletions

View File

@@ -69,10 +69,7 @@ public class SeriesHelper(ILogger logger)
public bool IsSeasonDataStale(IReadOnlyList<BaseItem> episodes)
{
if(episodes == null)
{
ArgumentNullException.ThrowIfNull(episodes);
}
ArgumentNullException.ThrowIfNull(episodes, "IsSeasonDataStale process recieved null episodes. Logic failure. Exception thrown.");
bool seasonIsStale = false;