Hello all,

I am trying to trap an error thrown by cfcontent, I wrapped cfcontent with
cftry, but when I generate the error, I do not get my message but rather.

"Please inform the site administrator that this error has occurred (be sure
to include the contents of this page in your message to the administrator)."

which I don't want my users to see.

Any suggestions,
I am running 4.0.1/nt4.0/sp6a.

Thanks

Percy E Perez

<cftry>
        <CFCONTENT TYPE="#v_mime#"
                FILE="#v_file#"
        >
        <cfcatch type="any">
                Blah....
        </cfcatch>
</cftry>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to