-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve handling of exceptions in plugins
Exceptions generated when invoking a plugin's collect() method were being lost when concurrent.futures.Future.result() was invoked, since the caught exception would have a traceback relative to the parent thread, not the child. So we store the original traceback on the exception within the child thread before re-raising, and then extract and display that traceback when the exception is finally caught by the parent. We also now abort when the exception is found.
- Loading branch information
Adam Spiers
committed
Jun 17, 2014
1 parent
30faafb
commit 9366bfb
Showing
2 changed files
with
23 additions
and
5 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