Now throwing an exception if login fails.
Dieser Commit ist enthalten in:
Ursprung
591cd8aa41
Commit
fdde9b5bfa
|
@ -38,6 +38,8 @@ class Sender
|
|||
{
|
||||
if ($this->sender->login($this->container->getParameter('username'), $this->container->getParameter('password')) === true) {
|
||||
$this->loggedIn = true;
|
||||
} else {
|
||||
throw new \RuntimeException('Unable to login to gateway!');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Laden…
In neuem Issue referenzieren