mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-17 07:49:45 +02:00
Log exceptions for failed fetches in Radarr import lists
Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> (cherry picked from commit c1d9187bb66c0524048020613d816918b84b5532) Closes #9186
This commit is contained in:
parent
608e2e7307
commit
4bd1c14db9
@ -67,9 +67,12 @@ public override ImportListFetchResult Fetch()
|
|||||||
|
|
||||||
_importListStatusService.RecordSuccess(Definition.Id);
|
_importListStatusService.RecordSuccess(Definition.Id);
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
anyFailure = true;
|
anyFailure = true;
|
||||||
|
|
||||||
|
_logger.Debug(ex, "Failed to fetch data for list {0} ({1})", Definition.Name, Name);
|
||||||
|
|
||||||
_importListStatusService.RecordFailure(Definition.Id);
|
_importListStatusService.RecordFailure(Definition.Id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user