mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
minor TODO tweaks
This commit is contained in:
parent
9cb517bdac
commit
b18454767b
2 changed files with 2 additions and 6 deletions
|
|
@ -65,13 +65,9 @@ private async Task<string> TryGetContent()
|
|||
snapshot.HttpStatusCode = ((int)((HttpWebResponse)we.Response).StatusCode).ToString();
|
||||
return null;
|
||||
}
|
||||
catch (HttpRequestException)
|
||||
{
|
||||
snapshot.HttpStatusCode = null;
|
||||
return null;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
//TODO: log exception (#148)
|
||||
snapshot.HttpStatusCode = null;
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ public class SnapshotService
|
|||
{
|
||||
private readonly FilterListsDbContext dbContext;
|
||||
|
||||
//TODO: update algorithm to support non-standard list sizes and formats
|
||||
//TODO: update algorithm to support non-standard list sizes and formats (#200, #201)
|
||||
private readonly List<int> ignoreLists = new List<int> {48, 173, 185, 186, 187, 188, 189};
|
||||
|
||||
public SnapshotService(FilterListsDbContext dbContext)
|
||||
|
|
|
|||
Loading…
Reference in a new issue