소스 검색

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]);