change contents of error output in ELMAH
I am trying to figure out if there is a way to hook into elmah in such a
way that I change the detail of the logged messages without explicitly
catching them all.
I would like to log the contents of DbEntityValidationException.
I would need to access the EntityValidationErrors property of the
exception, and log the details in the exception message. Is there a
mechanism for this.
No comments:
Post a Comment