فهرست منبع

onError throw by default.

Nicolas Cannasse 19 سال پیش
والد
کامیت
108dec90ed
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      std/haxe/remoting/AsyncConnection.hx

+ 1 - 1
std/haxe/remoting/AsyncConnection.hx

@@ -34,7 +34,7 @@ class AsyncConnection implements Dynamic<AsyncConnection> {
 	function new( data : Dynamic, path ) {
 	function new( data : Dynamic, path ) {
 		__data = data;
 		__data = data;
 		__path = path;
 		__path = path;
-		__error = { ref : function(e) { } };
+		__error = { ref : function(e) { throw e; } };
 	}
 	}
 
 
 	function __resolve(field) {
 	function __resolve(field) {