divxtotal: log exception when failing to load page

towards #14853
This commit is contained in:
Bogdan
2023-11-19 00:17:40 +02:00
parent c6f3f31016
commit b6bd2ea936

View File

@@ -150,9 +150,10 @@ namespace Jackett.Common.Indexers
{
htmlString = await LoadWebPageAsync(url);
}
catch
catch (Exception ex)
{
logger.Error($"DivxTotal: Failed to load url {url}");
logger.Error(ex, "DivxTotal: Failed to load url [{0}]: {1}", url, ex.Message);
return releases;
}