Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>9.6.4-beta05</Version>
<Version>9.6.4-beta06</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ protected override async Task OnErrorAsync(Exception exception)
/// <param name="builder"></param>
protected override void BuildRenderTree(RenderTreeBuilder builder)
{
#if DEBUG
// DEBUG 模式下显示异常堆栈信息到 UI 页面方便开发人员调试
if (OnErrorHandleAsync == null)
{
var ex = CurrentException ?? _exception;
Expand All @@ -77,6 +79,7 @@ protected override void BuildRenderTree(RenderTreeBuilder builder)
builder.AddContent(0, ExceptionContent(ex));
}
}
#endif
builder.AddContent(1, ChildContent);
}

Expand Down