소스 검색

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 ) {
 		__data = data;
 		__path = path;
-		__error = { ref : function(e) { } };
+		__error = { ref : function(e) { throw e; } };
 	}
 
 	function __resolve(field) {