Browse Source

no "null" exception.

Nicolas Cannasse 19 năm trước cách đây
mục cha
commit
d1fac74e92
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/remoting/SocketConnection.hx

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

@@ -160,7 +160,7 @@ class SocketConnection extends AsyncConnection {
 				f(val);
 				return null;
 			} catch( val : Dynamic ) {
-				return { exc : null };
+				return { exc : val };
 			}
 		}
 		// ---------------------------