mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 04:34:45 +02:00
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) {
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user