mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
2901cbbdbe
commit
f1541404ae
1 changed files with 2 additions and 0 deletions
|
|
@ -87,12 +87,14 @@ private async Task<IEnumerable<string>> TryGetLines()
|
|||
}
|
||||
catch (HttpRequestException hre)
|
||||
{
|
||||
await dbContext.SaveChangesAsync();
|
||||
await TrackException(hre);
|
||||
return null;
|
||||
}
|
||||
catch (WebException we)
|
||||
{
|
||||
snapEntity.HttpStatusCode = ((int)((HttpWebResponse)we.Response).StatusCode).ToString();
|
||||
await dbContext.SaveChangesAsync();
|
||||
await TrackException(we);
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue