Skip to content

Conversation

@pranavkm
Copy link
Contributor

Fixes #39039

@pranavkm pranavkm requested a review from a team as a code owner December 27, 2021 18:48
@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Dec 27, 2021
@pranavkm pranavkm enabled auto-merge (squash) December 27, 2021 19:02
@pranavkm pranavkm merged commit a8e0bed into dotnet:main Dec 27, 2021
@ghost ghost added this to the 7.0-preview1 milestone Dec 27, 2021
// For, client-side code, all internal state is visible to the end user. We can just
// log directly to the console.
_errorBoundaryLogger.LogError(exception.ToString());
_errorBoundaryLogger.LogError(exception.ToString(), exception);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong, as the exception comes before the message. See #39223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using Custom ILogger with ErrorBoundary produces exception = null

3 participants