浏览代码

error message with complete path.

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