improve error logging

This commit is contained in:
kaso17 2017-03-06 13:59:39 +01:00
parent 9d96821c20
commit d18cc7575c
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ namespace Jackett.Indexers
}
catch (Exception e)
{
logger.Error(string.Format("On attempt {0} downloading from {1}: {2}", (i + 1), DisplayName, e.Message));
logger.Error(e, string.Format("On attempt {0} downloading from {1}: {2}", (i + 1), DisplayName, e.Message));
lastException = e;
}
await Task.Delay(500);