c# - Does Elmah handle unhandled exceptions from other layers? -


i'm new elmah , considering implementing in project. asp.net mvc + umbraco + ef web project have multiple layers (business, dal etc).

my interest in elmah ability handle unhandled exceptions.

but question handle unhandled exceptions other layers (services, business, dal etc) or web layer (asp.net mvc) ?

elmah handles exception thrown client. means exceptions thrown in data layer not logged, if catch them in mvc layer or anywhere else. typically don't want exceptions lower layers end @ client.

elmah supports manual logging of errors through errorsignal this:

try {     database.dosomestuff(); } catch (somedatabaseexception ex) {     elmah.errorsignal.fromcurrentcontext().raise(ex); } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

jquery - Keeping Kendo Datepicker in min/max range -