 				loc.mailArgs.tagContent = $includeAndReturnOutput($template="wheels/events/onerror/cfmlerror.cfm", exception=arguments.exception);
 				StructDelete(loc.mailArgs, "layouts", false);
 				StructDelete(loc.mailArgs, "detectMultiPart", false);
-				$mail(argumentCollection=loc.mailArgs);
+				try
+				{
+					$mail(argumentCollection=loc.mailArgs);
+				}
+				catch (any e) {}
 			}
 			if (application.wheels.showErrorInformation)
 			{

				loc.mailArgs = {};
				$args(name="sendEmail", args=loc.mailArgs);
				if (StructKeyExists(application.wheels, "errorEmailServer") && Len(application.wheels.errorEmailServer))
					loc.mailArgs.server = application.wheels.errorEmailServer;
				loc.mailArgs.from = application.wheels.errorEmailAddress;
				loc.mailArgs.to = application.wheels.errorEmailAddress;
				loc.mailArgs.subject = application.wheels.errorEmailSubject;

		// We have to check if onErrorRequestTimeout exists since errors can be triggered before the application.wheels struct has been created.
		loc.requestTimeout = 70;
		if (StructKeyExists(application, "wheels") && StructKeyExists(application.wheels, "onErrorRequestTimeout"))
		{
			loc.requestTimeout = application.wheels.onErrorRequestTimeout;
		}
		$setting(requestTimeout=loc.requestTimeout);

		loc.returnValue = $simpleLock(execute="$runOnError", executeArgs=arguments, name="wheelsReloadLock", type="readOnly", timeout=180);
