Hire Me! I'm currently looking for my next role in developer relations and advocacy. If you've got an open role and think I'd be a fit, please reach out. You can also find me on LinkedIn.

Did you ever notice that if you encounter a CF error and use IE, the error template collapses, and hides, the stack trace? Of course, no one I know actually uses IE. All the cool kids use Firefox. Well, it is trivial to update your exception template to hide the strack traces in Firefox as well.

Open up /web-inf/exception/detail.cfm and find this line:

<cfset bIE = (cgi.user_agent contains "MSIE")>

and change it to:

<cfset bIE = (cgi.user_agent contains "MSIE" or cgi.user_agent contains "Firefox")>

That's it. Enjoy.