IzyPro / WatchDog

WatchDog is a Realtime Message, Event, HTTP (Request & Response) and Exception logger and viewer for ASP.Net Core Web Apps and APIs. It allows developers log and view messages, events, http requests made to their web application and also exception caught during runtime in their web applications, all in Realtime.
MIT License
765 stars 115 forks source link

UseWatchDogExceptionLogger() is not logging exceptions in ASP CORE 7 #128

Closed tnlthanzeel closed 1 year ago

tnlthanzeel commented 1 year ago

Description Hi all,

I have a problem where i try to use the app.UseWatchDogExceptionLogger(); in the middleware pipeline and then try to throw an error so that i can see the error logged in the watchdog UI.

Unfortunately the error is not getting logged.

I have tested this with a fresh app.

I throw a throw new NotImplementedException("saantha"); from theWeatherForecastController and thats all.

image

To Reproduce Steps to reproduce the behavior: I created a fresh project and uploaded to github here Expected behavior Should log exception thown from application

Details (please complete the following information):

tnlthanzeel commented 1 year ago

I see, the exceptions are showed in another tab