Log episode id and series id when either request fails

pull/1628/head
Claus Vium 5 years ago
parent 14575f0a06
commit 38b0967044

@ -118,7 +118,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
} }
catch (TvDbServerException e) 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; return result;

Loading…
Cancel
Save