Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Post execute event handlers do not have access to exceptions for failed cells #10702
Comments
|
I think the easiest way to do this would be to attach the |
drdarshan
referenced
this issue
Jul 17, 2017
Merged
Store last execution result in the interactive shell instance #10704
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
drdarshan commentedJul 14, 2017
If you write a post-execute event handler:
The handler can get access to the cell that was just run and the outputs if the run succeeded. However, if the run failed, there is no way for the handler to get hold of the stack trace that was produced. It would be ideal if the handler was passed in the result of
run_cellor if there was a way to get hold of the result from the history manager.