Explorar o código

no "null" exception.

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
d1fac74e92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 };
 			}
 		}
 		// ---------------------------