Skip to content

Conversation

@jncraton
Copy link

@jncraton jncraton commented Feb 13, 2018

This adds a flag to exit on exception (#100). I've only tested this with Python 3 in the Jupyter engine. I wasn't able to find a clean way to handle exceptions in general from Jupyter, so I fell back to checking sys.last_value (the last unhandled exception object). This seems to work fine in the light testing that I've done.

I'm definitely open to better ways to do this or any other feedback.

@jncraton jncraton changed the title Add CLI flag to exit on exception #100 Add CLI flag to exit on exception Feb 13, 2018
@coveralls
Copy link

coveralls commented Feb 13, 2018

Coverage Status

Coverage decreased (-0.2%) to 76.735% when pulling 476030a on jncraton:exitexception into eddee3b on mpastell:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants