Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception to problem details context #47760

Conversation

bjornen77
Copy link
Contributor

Add exception to problem details context

Adds an exception property to the problem details context. The exception is set in the developer exception page and exception handler middlewares.

Fixes #47651

…rExceptionPageMiddlewareImpl.cs

Co-authored-by: Chris Ross <Tratcher@Outlook.com>
@captainsafia captainsafia merged commit 7c75845 into dotnet:main Apr 19, 2023
@ghost ghost added this to the 8.0-preview4 milestone Apr 19, 2023
@bjornen77 bjornen77 deleted the feat/add-exception-to-problem-details-context branch April 19, 2023 19:28
@JamesNK JamesNK added the blog-candidate Consider mentioning this in the release blog post label Apr 19, 2023
@ghost
Copy link

ghost commented Apr 19, 2023

@bjornen77, this change will be considered for inclusion in the blog post for the release it'll ship in. Nice work!

Please ensure that the original comment in this thread contains a clear explanation of what the change does, why it's important (what problem does it solve?), and, if relevant, include things like code samples and/or performance numbers.

This content may not be exactly what goes into the blog post, but it will help the team putting together the announcement.

Thanks!

@JamesNK
Copy link
Member

JamesNK commented Apr 19, 2023

The PR's linked issue has details.

@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlesware and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlesware blog-candidate Consider mentioning this in the release blog post
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add exception property to the problem details context
5 participants