flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/9] git commit: [flex-utilities] [refs/heads/develop] - try logging how far we got before we get an error
Date Wed, 08 Jul 2015 12:49:57 GMT
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 <aharui@apache.org>
Authored: Tue Jul 7 14:57:02 2015 -0700
Committer: Alex Harui <aharui@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)
 			{


Mime
View raw message