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