Fix no error display if adding a server with an invalid email
This commit is contained in:
parent
8c1fe3056f
commit
dda5d9aa01
|
@ -120,7 +120,7 @@ class ServerRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$user) {
|
if (!$user) {
|
||||||
throw new DisplayValidationException('The user id or email passed to the function was not found on the system.');
|
throw new DisplayException('The user id or email passed to the function was not found on the system.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$autoDeployed = false;
|
$autoDeployed = false;
|
||||||
|
|
Loading…
Reference in New Issue