1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-23 16:27:44 +00:00

Fixed "cannot await in body of catch clause" warning

This commit is contained in:
unknown 2015-08-02 15:10:51 -06:00
parent 39db187c78
commit 3959fdc976

View file

@ -195,8 +195,8 @@ namespace Jackett.Indexers
{
logger.Error(string.Format("On attempt {0} downloading from {1}: {2}", (i + 1), DisplayName, e.Message));
lastException = e;
await Task.Delay(500);
}
await Task.Delay(500);
}
throw lastException;
@ -230,8 +230,8 @@ namespace Jackett.Indexers
{
logger.Error(string.Format("On attempt {0} checking for results from {1}: {2}", (i + 1), DisplayName, e.Message));
lastException= e;
await Task.Delay(500);
}
await Task.Delay(500);
}
throw lastException;
@ -276,8 +276,8 @@ namespace Jackett.Indexers
{
logger.Error(string.Format("On attempt {0} checking for results from {1}: {2}", (i + 1), DisplayName, e.Message));
lastException = e;
await Task.Delay(500);
}
await Task.Delay(500);
}
throw lastException;