Reputation: 890
Is it possible to catch all Azure Function exceptions in one place, just like IExceptionFilter
or Application_Error
in global.asax for ASP.NET?
Also, is it possible to grab the current HttpRequestMessage to get the context of the exception?
Upvotes: 4
Views: 383
Reputation: 7402
You can use Function Filters for that; however, they only work with precompiled functions using the attribute model see this for more info
Upvotes: 3