Fix bug in exception
This commit is contained in:
parent
07792ec72d
commit
98dc5ffda7
|
|
@ -59,7 +59,7 @@ class MutateContentBlock(relay.ClientIDMutation):
|
||||||
raise errors
|
raise errors
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
errors = ['Error: {}'.format(e)]
|
errors = ['Error: {}'.format(e)]
|
||||||
raise errors
|
raise Exception(errors)
|
||||||
|
|
||||||
|
|
||||||
class AddContentBlock(relay.ClientIDMutation):
|
class AddContentBlock(relay.ClientIDMutation):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue