Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

ASP.NET Global Exception Handling [closed]

$
0
0

’ve created a library services system, and recently I tried to add global exception handling for server-side error management, but it’s not working. I’ve tried everything, including switching to a CustomExceptionFilter, but nothing seems to help. Please assist, as I’m unsure how to proceed. Thank you

My project - https://github.com/Keyosarin/Library

I tried to add global exception handling for server-side error management, but it’s not working.The exception that occurs (Exception) is not overloaded and is not properly processed by custom ExceptionHandlerMiddleware, and instead the standard message about “NotFound” (404) is displayed, which is typical behavior if the controller or route is not found.


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>