explicitly set HttpStatusCode to null for HttpRequestException

This commit is contained in:
Collin M. Barrett 2018-02-05 12:14:35 -06:00
parent 299c49219e
commit 12088be517

View file

@ -50,7 +50,7 @@ private async Task<string> TryGetContent()
}
catch (HttpRequestException)
{
//TODO: log error
snapshot.HttpStatusCode = null;
return null;
}
}