Explorar o código

修正报错信息

luolongfei hai 1 ano
pai
achega
c546a8f31e
Modificáronse 1 ficheiros con 1 adicións e 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);
             }