Browse Source

平台检查

zhangdehua 1 year ago
parent
commit
ac2844e8e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/api/service/passport/MailCaptcha.php

+ 1 - 0
app/api/service/passport/MailCaptcha.php

@@ -100,6 +100,7 @@ class MailCaptcha extends BaseService
             //echo 'Message has been sent';
         } catch (Exception $e) {
             //echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
+            Log::error(__CLASS__ . ':' . __METHOD__ . $e->getMessage());
             Log::error(__CLASS__ . ':' . __METHOD__, ['errMsg' => $e->getMessage(), 'mailError' => $mail->ErrorInfo]);
             return false;
         }