From 16e14621c89bbda1868a05ccadf0af029aee4281 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 22 Jun 2020 20:22:52 -0700 Subject: [PATCH] Better error messaging when server is suspended --- .../Middleware/Api/Client/Server/AuthenticateServerAccess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/Api/Client/Server/AuthenticateServerAccess.php b/app/Http/Middleware/Api/Client/Server/AuthenticateServerAccess.php index c6acb66d3..1525755cf 100644 --- a/app/Http/Middleware/Api/Client/Server/AuthenticateServerAccess.php +++ b/app/Http/Middleware/Api/Client/Server/AuthenticateServerAccess.php @@ -65,7 +65,7 @@ class AuthenticateServerAccess } if ($server->suspended) { - throw new AccessDeniedHttpException('Cannot access a server that is marked as being suspended.'); + throw new AccessDeniedHttpException('This server is currenty suspended and the functionality requested is unavailable.'); } if (! $server->isInstalled()) {