Replies: 1 comment
-
I think this would be very hard. Because the host only forwards requests that match your functions to the worker as GRPC requests. Everything else is only handled by the host and never make their way to the worker process. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I use Microsoft.Azure.Functions.Worker v1.21.0
And I need to change response for standard exceptions like 404
When Azure Function doesn't have requested http method for path it just returns 404, and I need to add custom response message.
So, the question is How can I catch and handle all Exceptions BEFORE standard handler
I have ExceptionMiddleware and I use it like this
But it doesn't catch low level exceptions
Thanks and Best Regards,
Dmitry
Beta Was this translation helpful? Give feedback.
All reactions