Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle an exception without a traceback
When an exception does not have a traceback there are no frames to filter, but there's an explicit check for the last frame which will fail if there are no frames. An example exception with this problem can be seen when using concurrent.futures.ProcessPoolExecutor. When it reconstitutes a remote exception it has serialized the traceback to a string it includes as the error message instead of an object that can be inspected.
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 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
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