Browse Source

error message with complete path.

Nicolas Cannasse 19 years ago
parent
commit
70308f9b69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/remoting/SocketConnection.hx

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

@@ -172,7 +172,7 @@ class SocketConnection extends AsyncConnection {
 			#end
 			var fptr = Reflect.field(obj,fname);
 			if( !Reflect.isFunction(fptr) )
-				throw "Calling not-a-function '"+fname+"'";
+				throw "Calling not-a-function '"+path.join(".")+"."+fname+"'";
 			val = Reflect.callMethod(obj,fptr,args);
 		} catch( e : Dynamic ) {
 			val = e;