Log episode id and series id when either request fails

This commit is contained in:
Claus Vium 2019-08-15 13:43:12 +02:00
parent 14575f0a06
commit 38b0967044

View File

@ -118,7 +118,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
}
catch (TvDbServerException e)
{
_logger.LogError(e, "Failed to retrieve episode with id {TvDbId}", episodeTvdbId ?? seriesTvdbId);
_logger.LogError(e, "Failed to retrieve episode with id {EpisodeTvDbId}, series id {SeriesTvdbId}", episodeTvdbId, seriesTvdbId);
}
return result;