Skip to content
Permalink
Browse files
FLEX-34624 add more logging
  • Loading branch information
justinmclean committed Oct 25, 2014
1 parent f77ed26 commit 75e929adb285da72c4723257b3be15c2d1c976e4
Showing 1 changed file with 10 additions and 0 deletions.
@@ -674,10 +674,20 @@ variables are not required because the locations of these pieces are known.
abortInstallation("Unable to load " + Constants.APACHE_FLEX_URL + Constants.CONFIG_XML_NAME);
}
_loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, xmlLoadStatus, false, 0, true);
_loader.addEventListener(IOErrorEvent.IO_ERROR, xmlError, false, 0, true);
_loader.addEventListener(Event.COMPLETE, xmlLoaded, false, 0, true);
}
protected function xmlLoadStatus(event:HTTPStatusEvent):void
{
if (event.status >= 400)
{
log("Unable to load " + Constants.APACHE_FLEX_URL + Constants.CONFIG_XML_NAME);
log("\tServer Status: " + event.status);
}
}
protected function xmlError(event:IOErrorEvent):void
{
selectDefaultLanguageInEmergency();

0 comments on commit 75e929a

Please sign in to comment.