dotnet / dotnet/aspnetcore

app.UseExceptionHandler and ExceptionHandlerMiddleware.cs

Open
#26,206 6 comments 2 reactions 0 assignees View on GitHub
affected-few area-middleware enhancement feature-diagnostics severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

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

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.