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 <[email protected]>
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);