From dda5d9aa01546b31f3ff8e1cb81357c9441fdcfb Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 23 Oct 2016 18:48:14 -0400 Subject: [PATCH] Fix no error display if adding a server with an invalid email --- app/Repositories/ServerRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/ServerRepository.php b/app/Repositories/ServerRepository.php index 477ff8e0..ae98649d 100644 --- a/app/Repositories/ServerRepository.php +++ b/app/Repositories/ServerRepository.php @@ -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;