Przeglądaj źródła

修正报错信息

luolongfei 1 rok temu
rodzic
commit
c546a8f31e
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
             }