Browse Source

Update Subscription\Send for log

Visman 4 years ago
parent
commit
629928bd4c
1 changed files with 4 additions and 1 deletions
  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);
         } catch (MailException $e) {
-            // ????
+            $this->c->Log->error('Subscription send MailException', $context + [
+                'exception' => $e,
+                'headers'   => false,
+            ]);
         }
     }
 }