Explorar o código

added data when no response exp.

Nicolas Cannasse %!s(int64=18) %!d(string=hai) anos
pai
achega
60854919a8
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

@@ -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 )