소스 검색

平台检查

zhangdehua 1 년 전
부모
커밋
ac2844e8e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
         }