mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Fixes for python 2.7 & PyPy
This commit is contained in:
parent
70cedc046f
commit
70024ed0eb
|
@ -18,7 +18,7 @@ class GlobalIDFormField(Field):
|
|||
|
||||
try:
|
||||
gid = from_global_id(value)
|
||||
except (UnicodeDecodeError, TypeError, binascii.Error):
|
||||
except (TypeError, ValueError, UnicodeDecodeError, binascii.Error):
|
||||
raise ValidationError(self.error_messages['invalid'])
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user