Skip to content

Commit

Permalink
Merge pull request #19 from silinternational/develop
Browse files Browse the repository at this point in the history
don't log an error when a delayed email is found in retry()
  • Loading branch information
briskt authored May 10, 2019
2 parents 442d87b + 537c907 commit cf440df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/common/models/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public function retry()
{
try {
$this->send();
} catch (EmailDelayedException $e) {
return 0;
} catch (\Exception $e) {
/*
* Send failed, attempt to queue
Expand Down

0 comments on commit cf440df

Please sign in to comment.