explicitly set HttpStatusCode to null for HttpRequestException

This commit is contained in:
Collin M. Barrett 2018-02-05 12:14:35 -06:00
parent b9cf811dd8
commit 749a273daf

View file

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