浏览代码

no "null" exception.

Nicolas Cannasse 19 年之前
父节点
当前提交
d1fac74e92
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 };
 			}
 		}
 		// ---------------------------