dotnet / dotnet/aspnetcore

Render Output Invalid: Improve exception message

Open
#55,374 1 comment 0 reactions 0 assignees View on GitHub
area-blazor copilot-candidate enhancement feature-observability Pillar: Dev Experience
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

https://github.com/dotnet/aspnetcore/blob/eb18cb23cf2be9db70ae799e9b23a74a26e78d0b/src/Components/Components/src/Rendering/RenderTreeBuilder.cs#L783

It took me an age to figure out my issue, as the exception wasn't the clearest as I had no `try/catch` behaviour. Can it also state that using `break` in a loop can also be a cause for this exception?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.