Catch all exceptions

Is it possible to catch all exceptions Azure functions in one place, in the same way as IExceptionFilteror Application_Errorin the global.asax for ASP.NET?

Also, is it possible to capture the current HttpRequestMessage to get the exception context?

+4
source share
1 answer

You can use Functional filters ; however, they only work with precompiled functions using the attribute model, see this for more information.

+3
source

Source: https://habr.com/ru/post/1687431/


All Articles