UseStatusCodePagesWithReExecute .net 6
![net logo](https://www.osco.se/wp-content/uploads/2022/01/netlogo-768x768.png)
I got some problem when trying to use custom error pages in a .net 6 mvc web app. Using UseStatusCodePagesWithReExecute to redirect to an error controller on exceptions like 404 or 500 response status. But the error controller never got…