-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add traceback to errors from failed promises (#240)
The stack attribute of GraphQLLocatedErrors was not set for errors that resulted from asynchronous resolvers. We add a unit test for this problem and a solution that works with Python >= 3. In Python 2 this problem is not yet solved, and may be never solved, because dealing with stack traces is much more difficult there.
- Loading branch information
Showing
2 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters