zhangdehua 1 год назад
Родитель
Сommit
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;
         }