Browse Source

added data when no response exp.

Nicolas Cannasse 18 năm trước cách đây
mục cha
commit
60854919a8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 )