@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | . $info |
| 198 | 198 | . $footer |
| 199 | 199 | . '</body></html>'; |
| 200 | - $state = $result->allOk() ? 'OK' : ($result->backupOkButSkipsOrFails() ? 'WARNING' : 'ERROR'); |
|
| 200 | + $state = $result->allOk() ? 'OK' : ($result->backupOkButSkipsOrFails() ? 'WARNING' : 'ERROR'); |
|
| 201 | 201 | |
| 202 | 202 | $this->mailer->Subject = $this->subject . ' [' . $state . ']'; |
| 203 | 203 | $this->mailer->setFrom($this->senderMail, $this->senderName); |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | if (!$this->mailer->send()) { |
| 362 | 362 | throw new Exception($this->mailer->ErrorInfo); |
| 363 | 363 | } |
| 364 | - } catch (\Exception $e) { |
|
| 364 | + } catch (\Exception $e) { |
|
| 365 | 365 | throw new Exception($e->getMessage()); |
| 366 | 366 | } |
| 367 | 367 | } |