Change exception type

This commit is contained in:
弘韬 张 2020-12-29 17:14:13 +08:00
parent cfa93a2cc6
commit a806f7d05a

View file

@ -89,7 +89,7 @@ namespace Flow.Launcher.Infrastructure.Http
}
else
{
throw new WebException($"Error code <{response.StatusCode}> returned from <{url}>");
throw new HttpRequestException($"Error code <{response.StatusCode}> returned from <{url}>");
}
}