Skip to content

Commit 5d7a0c3

Browse files
committed
Merge branch '3.x' of github.com:BinarCode/laravel-mailator into 3.x
2 parents b24c6cd + f8c1e6f commit 5d7a0c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Models/MailatorSchedule.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,9 @@ public function shouldSend(): bool
328328
{
329329
try {
330330
$this->load('logs');
331+
331332
return $this->configurationsPasses() && $this->whenPasses() && $this->eventsPasses();
332-
} catch (Exception|Throwable $e) {
333+
} catch (Exception | Throwable $e) {
333334
$this->markAsFailed($e->getMessage());
334335

335336
return false;
@@ -354,7 +355,7 @@ public function execute(bool $now = false): void
354355
dispatch(new SendMailJob($this));
355356
}
356357
}
357-
} catch (Exception|Throwable $e) {
358+
} catch (Exception | Throwable $e) {
358359
$this->markAsFailed($e->getMessage());
359360
}
360361
}

0 commit comments

Comments
 (0)