Explorar o código

Update Subscription\Send for log

Visman %!s(int64=4) %!d(string=hai) anos
pai
achega
629928bd4c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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,
+            ]);
         }
     }
 }