Well put. I believe I may just stop including any details at all in my error
emails after reading that but instead, as you described, just send an email
that says basically, 'you’ve got errors at mysite.com'. And then just build
a reusable error interface component for my sites.

It would...
A) keep me from building the elaborate outlook folder structure to hold any
error emails that might be triggered by the error handlers of my sites

B) Keep the errors located at their origin and easily found

C) Give the resources for a better error ticket reporting method and track
history of the application.

Thanks for that input.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 12:48 PM
To: CF-Talk
Subject: Re: Using try/catch all over the place a good thing?

Another consequence of emailing errors, if you are sending diagnostic
info with the error (and you should be), you could be emailing
passwords, credit card numbers etc. etc. that are passed in the form
scope.  Consider that when developing your error handling.  I like to
store them in a db, with a fallback to a write to disk.  I only email
myself a 'you've got errors' email, if I send the email at all as
opposed to checking the log (I use a server monitor to find things
like dead db's killing the site).  Hand in hand with that is a
cfscheduled task that deletes all errors older than X days.

Also, consider using a site wide error handler AND a cferror tag AND,
on a granular level, cftry/cfcatch.  Use cftry/cfcatch to protect
individual blocks of code where you want a specific error handled a
specific way (like a mime type failure on an upload).  Use cferror as
your application's general error handler and use a sitewide handler to
bat cleanup in case something goes wrong with Plans A and B.

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221523
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to