Skip to content

Commit a806f7d

Browse files
committed
Change exception type
1 parent cfa93a2 commit a806f7d

File tree

1 file changed

+1
-1
lines changed
  • Flow.Launcher.Infrastructure/Http

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Http/Http.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static async Task Download([NotNull] string url, [NotNull] string filePat
8989
}
9090
else
9191
{
92-
throw new WebException($"Error code <{response.StatusCode}> returned from <{url}>");
92+
throw new HttpRequestException($"Error code <{response.StatusCode}> returned from <{url}>");
9393
}
9494
}
9595

0 commit comments

Comments
 (0)