signumsoftware / framework

Open Source framework for writing data-centric applications using the latest versions of .Net Core, C# (not-nullable), ASP.NET Web API, Typescript (strict), React, D3 and Sql Server or PostgreeSQL
https://www.signumsoftware.com/en/Framework
MIT License
221 stars 84 forks source link

introduced OnExceptionLogged event. #585

Closed KonstantinLukaschenko closed 1 year ago

KonstantinLukaschenko commented 1 year ago

This introduces an extension point to ExtensionLogic.cs in order to subscribe to exception logs.

The event can be used in order to log handled exceptions to a third party error monitoring tool, like Sentry.io.

KonstantinLukaschenko commented 1 year ago

Thanks, Olmo! 😊

olmobrutall commented 1 year ago

Thanks to you :)

olmobrutall commented 1 year ago

BTW take into account that log exception can be called more than once for the same exception when new information is added (like controller, etc in SignumExceptionFilter)