Pārlūkot izejas kodu

added data when no response exp.

Nicolas Cannasse 18 gadi atpakaļ
vecāks
revīzija
60854919a8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 )