I have an exception handler. In my asp.net application. Its written in Global.asax. In the Application_Error () method.
It works for exceptions that occur in the context of pages and classes that are called as a result of a request to the application. But if I create a stream, as a result of the request (or for another reason, like an application-based timer) and Exceptions in this stream. It is not processed by Global.asax. This causes the Asp.nets workflow to kill my application. Dead. If I attach the AppDomain.CurrentDomain.UnhandledException handler, I see an exception that occurs in my thread, but, alas, it's too late. And the application is still dying. Dead. Any tips?
Irwin source
share