From 98dc5ffda7182871dd69efbdce12ddbebbd3cd4c Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Wed, 10 Nov 2021 16:19:14 +0100 Subject: [PATCH] Fix bug in exception --- server/books/schema/mutations/contentblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/books/schema/mutations/contentblock.py b/server/books/schema/mutations/contentblock.py index 7d30d5bf..0d0b371e 100644 --- a/server/books/schema/mutations/contentblock.py +++ b/server/books/schema/mutations/contentblock.py @@ -59,7 +59,7 @@ class MutateContentBlock(relay.ClientIDMutation): raise errors except Exception as e: errors = ['Error: {}'.format(e)] - raise errors + raise Exception(errors) class AddContentBlock(relay.ClientIDMutation):