locked
Get a general Try-Catch for all Try-Catch blocks in the solution RRS feed

  • Question

  • User539757411 posted

    Hi,

    I have a ASP.NET Webforms  website.
    And I'd like that every time it has an exception and falls into the "Catch", it sends me an e-mail or save it in a logerror.txt file.

    So is it possible that every time the website has an exception, it centralizes it in a method that could send me an e-mail or save it in a logerror.txt file or whatever I want ?

    Thanks in advance!

    Tuesday, March 12, 2019 2:50 PM

All replies