liangl il y a 11 ans
Parent
commit
64b08c708b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      applications/Demo/Lib/Gateway.php

+ 1 - 1
applications/Demo/Lib/Gateway.php

@@ -277,7 +277,7 @@ class Gateway
            $connections = self::$businessWorker->getGatewayConnections();
            if(!isset($connections[$address]))
            {
-               $e = new \Exception("sendToGateway($address, $buffer) fail \$connections:".json_encode($connections));
+               $e = new \Exception("sendToGateway($address, $buffer) fail \$connections:".var_export($connections, true));
                return false;
            }
            return self::$businessWorker->sendToClient($buffer, $connections[$address]);