Skip to content

Instantly share code, notes, and snippets.

@ayende
Created June 24, 2020 07:59
Show Gist options
  • Save ayende/5bac1447502b8a285dd963f383f2beee to your computer and use it in GitHub Desktop.
Save ayende/5bac1447502b8a285dd963f383f2beee to your computer and use it in GitHub Desktop.
try
{
result = await httpClient.Get("/update/status");
}
catch(HttpRequestException e)
{
// handle error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment