Skip to content

Commit 12ff72b

Browse files
committed
refactor: 增加注释
1 parent 3a4c358 commit 12ff72b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/Components/ErrorLogger/BootstrapBlazorErrorBoundary.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ protected override async Task OnErrorAsync(Exception exception)
6969
protected override void BuildRenderTree(RenderTreeBuilder builder)
7070
{
7171
#if DEBUG
72+
// DEBUG 模式下显示异常堆栈信息到 UI 页面方便开发人员调试
7273
if (OnErrorHandleAsync == null)
7374
{
7475
var ex = CurrentException ?? _exception;

0 commit comments

Comments
 (0)