Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,11 @@ protected function initMailClientConnection(): ?Model\Account
if ($oAccount && !$this->ImapClient()->IsLoggined()) {
try {
$oAccount->ImapConnectAndLogin($this->oPlugins, $this->ImapClient(), $this->oConfig);
} catch (\MailSo\Net\Exceptions\ConnectionException $oException) {
} catch (\MailSo\Net\Exceptions\ConnectionException
| \MailSo\Net\Exceptions\SocketReadException
| \MailSo\Net\Exceptions\SocketReadTimeoutException
| \MailSo\Net\Exceptions\SocketWriteException $oException
) {
throw new Exceptions\ClientException(Notifications::ConnectionError, $oException);
} catch (\Throwable $oException) {
throw new Exceptions\ClientException(Notifications::AuthError, $oException);
Expand Down
Loading