Explorar el Código

修正报错信息

luolongfei hace 1 año
padre
commit
c546a8f31e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/helpers.php

+ 1 - 1
app/helpers.php

@@ -2049,7 +2049,7 @@ if (!function_exists('getAwsWafToken')) {
                     return $body['data']['result'];
                 }
             } catch (\Exception $e) {
-                system_log('<red>getAwsWafToken error:</red> ' . $e);
+                system_log('<red>getAwsWafToken error:</red> ' . $e->getMessage());
             } finally {
                 sleep(1);
             }