瀏覽代碼

Update Subscription\Send for log

Visman 4 年之前
父節點
當前提交
629928bd4c
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      app/Models/Subscription/Send.php

+ 4 - 1
app/Models/Subscription/Send.php

@@ -159,7 +159,10 @@ class Send extends Method
 
 
             $this->c->Lang->load('common', $this->c->user->language);
             $this->c->Lang->load('common', $this->c->user->language);
         } catch (MailException $e) {
         } catch (MailException $e) {
-            // ????
+            $this->c->Log->error('Subscription send MailException', $context + [
+                'exception' => $e,
+                'headers'   => false,
+            ]);
         }
         }
     }
     }
 }
 }