in

ASP.NET Weblogs

.NET Brain Droppings

I'm a Microsoft Certified Architect (MCA)... Feel free to ask me about the program...

Error Raising and Handling Guidelines

Read it... Live it...  and by all means; Never Swallow Exceptions!

[Listening to: Operation Ivy - Energy]

 

Comments

 

Scott Galloway said:

Log the buggers...the Exception Management Application Block is a godsend for this!
On the web, I'd rather log an exception and degrade gracefully than show the user some useless error page (they'll probably never come back). So if I can with, for instance, user controls, I catch the exception in my BaseControl (which is a descendant of UserControl), log it and set the control's visibility to 'false' - that way, though that element way be invisible, the whole page isn't broken...have to be sensible about it though :-)
October 9, 2003 11:27 AM

Leave a Comment

(required)  
(optional)
(required)  
Add