Skip to content

Commit 16e1462

Browse files
committed
Better error messaging when server is suspended
1 parent 693b9ea commit 16e1462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/Api/Client/Server/AuthenticateServerAccess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function handle(Request $request, Closure $next)
6565
}
6666

6767
if ($server->suspended) {
68-
throw new AccessDeniedHttpException('Cannot access a server that is marked as being suspended.');
68+
throw new AccessDeniedHttpException('This server is currenty suspended and the functionality requested is unavailable.');
6969
}
7070

7171
if (! $server->isInstalled()) {

0 commit comments

Comments
 (0)