Skip to content

Commit

Permalink
log debug data if present
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchiverton committed Sep 23, 2016
1 parent d891fb4 commit 3022846
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bonus/LogToScreen.cfc
Expand Up @@ -11,6 +11,9 @@
<cfcontent type="text/html" />
<cfheader statuscode="500" statustext="Unhandled API Error" />
<cfdump var="#arguments#" />
<cfif isDefined('request.debugData')>
<cfdump var="#request.debugData#" label="debug data" />
</cfif>
<cfabort />
</cffunction>

Expand Down

0 comments on commit 3022846

Please sign in to comment.