Hi and thanks for taking the time to answer my question.
I have an asp.net webforms application that I built for internal purposes of a medium sized company.
First off let me say that I handle all exceptions that might happen during CRUD operations and show the appropriate message to the user. However, is there a way that I can, in a centralised manner, first email the innerException message to myself along with the stack trace, and then show the message to the user?
In other words, I dont want to create a method like EmailException() and call it in every catch(Exception ex) block but I'd like to call it once somewhere where all exceptions are first caught.
If my question is not clear enough please tell me.
Thanks again!