NickCraver / StackExchange.Exceptional

Error handler used for the Stack Exchange network
https://nickcraver.com/StackExchange.Exceptional/
Apache License 2.0
862 stars 170 forks source link

How can we log 404, 401, 403 status code type error in Database using StackExchange.Exceptional? #184

Closed anomepani closed 2 years ago

anomepani commented 4 years ago

How can we log 404, 401, 403 status code type error in Database using StackExchange.Exceptional?

In Elmah I have seen that it will log 404 error. Just wanted to know that if possible using StackExchange.Exceptional package then it is very helpful.

NickCraver commented 3 years ago

Is the ask here to log the 404 you're getting as a client or a server hosting and serving a 404? If the latter, is this in ASP.NET Core?