php-imap
php-imap copied to clipboard
Throw Exception Authenticate
Describe the bug For authenticate exception is not throw
Code to Reproduce Client.php line 475 The troubling code section which produces the reported bug.
try {
$this->connection->connect($this->host, $this->port);
} catch (ErrorException|RuntimeException $e) {
throw new ConnectionFailedException("connection setup failed", 0, $e);
}
$this->authenticate();
return $this;
Expected behavior throw authenticate exception
Webklex version: 6.2