Skip to content

Commit e78c6bb

Browse files
committed
Remove try-catch, if QuiescenceTask throws, we don't want to wait anymore.
1 parent 1374220 commit e78c6bb

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/Components/Endpoints/src/Rendering/EndpointHtmlRenderer.Prerendering.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,8 @@ private void FinishRendereingOnQuiescenceIfRequested(PrerenderedComponentHtmlCon
172172
// Set up a background task to wait for quiescence and signal when reached
173173
_ = Task.Run(async () =>
174174
{
175-
try
176-
{
177-
await htmlContent.QuiescenceTask.ConfigureAwait(false);
178-
SignalRendererToFinishRendering();
179-
}
180-
catch
181-
{
182-
// Ignore exceptions - they represent component failures, not successful quiescence
183-
// We only want to signal on successful completion
184-
}
175+
await htmlContent.QuiescenceTask.ConfigureAwait(false);
176+
SignalRendererToFinishRendering();
185177
});
186178
}
187179

0 commit comments

Comments
 (0)