You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/07/08 14:49:57 UTC

[5/9] git commit: [flex-utilities] [refs/heads/develop] - try logging how far we got before we get an error

try logging how far we got before we get an error


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/6494e5fa
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/6494e5fa
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/6494e5fa

Branch: refs/heads/develop
Commit: 6494e5faaa96c69999a5ae62e0f2a0dd4cd17666
Parents: cfe5230
Author: Alex Harui <ah...@apache.org>
Authored: Tue Jul 7 14:57:02 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Jul 8 05:49:27 2015 -0700

----------------------------------------------------------------------
 flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/6494e5fa/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as
----------------------------------------------------------------------
diff --git a/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as b/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as
index 2042d32..7da99a6 100644
--- a/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as
+++ b/flex-installer/ant_on_air/src/org/apache/flex/ant/tags/Get.as
@@ -79,6 +79,8 @@ package org.apache.flex.ant.tags
 		
         private var urlLoader:URLLoader;
         
+        private var lastProgress:ProgressEvent;
+        
         override public function execute(callbackMode:Boolean, context:Object):Boolean
         {
             super.execute(callbackMode, context);
@@ -172,6 +174,9 @@ package org.apache.flex.ant.tags
         
         private function ioErrorEventHandler(event:IOErrorEvent):void
         {
+            if (lastProgress)
+                ant.output("ioError at: " + lastProgress.bytesLoaded + " of " + lastProgress.bytesTotal);
+            
             ant.output(event.toString());
 			if (!ignoreerrors)
 			{