Counts on what you want done. If the query can be retried or faked, then I'd 
do a try/catch and deal with it specifically. If it's failure breaks the 
entire page run, an onError might be best. All depends on how you've coded 
the site and what fallbacks you have in place.


> So, in the case of a simple query what happens if your datasource can't
> connect? (db down, etc) How do you handle this error with an open cfquery?
> onError in App.cfc?
>
> Just curious...



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232360
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to