瀏覽代碼

added data when no response exp.

Nicolas Cannasse 18 年之前
父節點
當前提交
60854919a8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/haxe/remoting/SocketConnection.hx

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

@@ -162,7 +162,7 @@ class SocketConnection extends AsyncConnection {
 			var isrequest : Bool = s.unserialize();
 			if( !isrequest ) {
 				if( sc.__funs.isEmpty() )
-					throw "No response expected";
+					throw "No response expected ("+data+")";
 				f = sc.__funs.pop();
 				val = s.unserialize();
 				if( f == null )