I'm wrapping some cftry/catchs around my cffiles and cfquerys. It works pretty 
sweet if I use just an empty catch. 

Is it ok practice to wrap EVERYTHING with these? I like the empty catch cause 
it just drops you right back on the page with no errors. I can see a problem 
though where the cffile might work, then the query fails but you don't know it. 

<cftry>
<cffile action=....>
<cfcatch type=any></cfcatch>
</cftry>

<cftry>
<cfquery name=...>
DE DO DO DO< DE DA DA DA
</cfquery>
<cfcatch type=database></cfcatch>
</cftry>

Thanks,
Will

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:221428
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