[Mailer] Remove unneeded catch in ping()
The stop() method doesn't throw
This commit is contained in:
parent
c128d50196
commit
907adf47e3
@ -219,10 +219,7 @@ class SmtpTransport extends AbstractTransport
|
||||
try {
|
||||
$this->executeCommand("NOOP\r\n", [250]);
|
||||
} catch (TransportExceptionInterface $e) {
|
||||
try {
|
||||
$this->stop();
|
||||
} catch (TransportExceptionInterface $e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user