Skip to content

Commit

Permalink
Fix reraising for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ods committed Apr 6, 2020
1 parent 523370d commit 0bbf94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql/execution/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def resolve_or_error(
info.parent_type.name, info.field_name
)
)
e.stack = sys.exc_info()[2] # type: ignore
e.stack = sys.exc_info()[2] # type: ignore
return e


Expand Down

0 comments on commit 0bbf94b

Please sign in to comment.