Skip to content

app.UseExceptionHandler and ExceptionHandlerMiddleware.cs #26206

Open
@marcdumont3000

Description

@marcdumont3000

I would like to know if it's possible to localize or set back the culture in the context when an Exception occure using app.UseExceptionHandler("/{culture}/error") in the config startup ?

Or is there other ways to achieve that?

this is part of the Assembly Microsoft.AspNetCore.Diagnostics

thanks
Marc

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-fewThis issue impacts only small number of customersarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-diagnosticsDiagnostic middleware and pages (except EF diagnostics)severity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions