Skip to content

Commit dda5d9a

Browse files
committed
Fix no error display if adding a server with an invalid email
1 parent 8c1fe30 commit dda5d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Repositories/ServerRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function create(array $data)
120120
}
121121

122122
if (!$user) {
123-
throw new DisplayValidationException('The user id or email passed to the function was not found on the system.');
123+
throw new DisplayException('The user id or email passed to the function was not found on the system.');
124124
}
125125

126126
$autoDeployed = false;

0 commit comments

Comments
 (0)