vali %!s(int64=6) %!d(string=hai) anos
pai
achega
7b33faafb4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      datainf/logic/HttpServerRedisToSql.php

+ 1 - 1
datainf/logic/HttpServerRedisToSql.php

@@ -112,7 +112,7 @@ class HttpServerRedisToSql
                 try {
                     $erowcount = $pdo->exec($sqlstr);
                 } catch (\Exception $e) {
-                    echo "发生异常:" . $e->getCode() . ' ---- ' . $e->getMessage() . "\n";
+                    echo "发生异常:" . $e->getCode() . ' ---- ' . print_r($e->getMessage(),true) . "\n";
                 }
 
                 if (!$erowcount) {