You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2019/02/04 22:49:40 UTC

[royale-asjs] branch develop updated: Error needs data too.

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new b02838e  Error needs data too.
b02838e is described below

commit b02838ec057a823f869342026afcdbc75eb52da7
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Feb 5 00:49:31 2019 +0200

    Error needs data too.
---
 .../Network/src/main/royale/org/apache/royale/net/URLBinaryLoader.as     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLBinaryLoader.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLBinaryLoader.as
index 9a2f130..24423f2 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLBinaryLoader.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLBinaryLoader.as
@@ -124,6 +124,7 @@ package org.apache.royale.net
         
         private function errorFunction(stream:URLStream):void
         {
+			data = stream.response;
             dispatchEvent(new DetailEvent("communicationError",false,false,""+requestStatus));
             if(onError)
                 onError(this);