@@ -113,10 +113,10 @@ |
||
| 113 | 113 | if($count_ > 0){ |
| 114 | 114 | $this->repository->markCompleteSending($email); |
| 115 | 115 | $count += $count_; |
| 116 | - }else{ |
|
| 116 | + } else{ |
|
| 117 | 117 | throw new \Swift_SwiftException('The email was not sent.'); |
| 118 | 118 | } |
| 119 | - }catch(\Swift_SwiftException $ex){ |
|
| 119 | + } catch(\Swift_SwiftException $ex){ |
|
| 120 | 120 | $this->repository->markFailedSending($email, $ex); |
| 121 | 121 | } |
| 122 | 122 | } |