I have been using Elmah for an MVC application and my question is
Is it a bad practice to not write try catch statement when using Elmah?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ELMAH is used to log unhandled exceptions. If you can handle the exception I would strongly suggest that you do.
If you still want to log the exceptions to ELMAH, you can do so: