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;
         }