From cd9b7787ede8ec0b02890a72e4154377cc7b2953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 8 Nov 2021 15:59:05 +0100 Subject: [PATCH] mutation: Improve error message --- graph/schema.resolvers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/schema.resolvers.go b/graph/schema.resolvers.go index 5c7818d..10e0046 100644 --- a/graph/schema.resolvers.go +++ b/graph/schema.resolvers.go @@ -167,7 +167,7 @@ func (r *mutationResolver) StartQueue(ctx context.Context, teamspeakID string) ( } if players == 10 { - return players, errors.New("QueueFull") + return players, errors.New("queue is full") } query := ` -- 2.44.0