mirror of https://github.com/Jackett/Jackett
improve error logging
This commit is contained in:
parent
9d96821c20
commit
d18cc7575c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue