We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f6f437 commit 3e273d5Copy full SHA for 3e273d5
src/BootstrapBlazor.Server/Components/Samples/Downloads.razor.cs
@@ -50,10 +50,9 @@ private async Task DownloadFolderAsync()
50
{
51
await DownloadService.DownloadFolderAsync("test.zip", WebsiteOption.CurrentValue.WebRootPath);
52
}
53
- catch (FileNotFoundException msg)
+ catch (Exception ex)
54
55
-
56
- await ToastService.Error("下载", msg.Message);
+ await ToastService.Error("下载", ex.Message);
57
58
59
0 commit comments