Fix no error display if adding a server with an invalid email

This commit is contained in:
Dane Everitt 2016-10-23 18:48:14 -04:00
parent 8c1fe3056f
commit dda5d9aa01
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -120,7 +120,7 @@ class ServerRepository
}
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;