We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64b885 commit e56723aCopy full SHA for e56723a
graphql/error/located_error.py
@@ -9,7 +9,12 @@ class GraphQLLocatedError(GraphQLError):
9
10
def __init__(self, nodes, original_error=None):
11
if original_error:
12
- message = str(original_error)
+ message = (
13
+ original_error.message.encode('utf-8')
14
+ if isinstance(original_error.message, unicode)
15
+ else str(original_error)
16
+ )
17
+
18
else:
19
message = 'An unknown error occurred.'
20
0 commit comments