 				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;

				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);
			}
			if (application.wheels.showErrorInformation)
			{

				if (StructKeyExists(loc, "wheelsError"))
				{
					loc.returnValue = $includeAndReturnOutput($template="wheels/styles/header.cfm");
					loc.returnValue &= $includeAndReturnOutput($template="wheels/events/onerror/wheelserror.cfm", wheelsError=loc.wheelsError);
					loc.returnValue &= $includeAndReturnOutput($template="wheels/styles/footer.cfm");
				}
				else
				{
