I am extending the errormanagement function, which resets several areas of variables and emails them to me. I am using the onError method in Application.cfc for this case.
<CFDUMP var="#arguments.exception#" label="Error"> <CFDUMP var="#Application#" label="APPLICATION-Scope" /> <CFDUMP var="#form#" label="FORM-Scope"> <CFDUMP var="#url#" label="URL-Scope"> <CFDUMP var="#CGI#" label="CGI-Scope" /> <CFDUMP var="#session#" label="SESSION-Scope" /> <CFDUMP var="#variables#" label="VARIABLES-Scope" />
onError has an exception as an argument, which I dump first in this example .... but how do I get the arguments of the function in which the error occurred? For example, if I call UDF in my Application.cfc onRequest method, for example <CFSET giveMeMyScripts("javascript-file-1","javascript-file-2") /> Can I get javascript-file-1 and javascript-file-2 ? Kind of super arguments?
Thanks for any thoughts on this.
source share