 
 <cffunction name="$runOnError" returntype="string" access="public" output="false">
 	<cfargument name="exception" type="any" required="true">
-	<cfargument name="eventname" type="any" required="true">
+	<cfargument name="eventName" type="any" required="true">
 	<cfscript>
 		var loc = {};
 

<cffunction name="onError" returntype="void" access="public" output="true">
	<cfargument name="exception" type="any" required="true">
	<cfargument name="eventname" type="any" required="true">
	<cfscript>
		var returnValue = "";
		returnValue = $simpleLock(execute="$runOnError", executeArgs=arguments, name="wheelsReloadLock", type="readOnly");

			else
			{
				$header(statusCode=500, statusText="Internal Server Error");
				loc.returnValue = $includeAndReturnOutput($template="#application.wheels.eventPath#/onerror.cfm", exception=arguments.exception, eventName=arguments.eventName);
			}
		}
		else
