Fix no error display if adding a server with an invalid email
This commit is contained in:
parent
8c1fe3056f
commit
dda5d9aa01
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue