浏览代码

notice fix

liangl 11 年之前
父节点
当前提交
64b08c708b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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]);