DescriptionFixed bug in story_runner's has_existing_exception.
sys.exc_info() returns a tuple of (None, None, None) to indicate that
no exception is currently being handled. Comparing this against None
always returns true, so exceptions thrown in DidRunStory are silently
being squelched.
This change has been tested with some forthcoming tests, but otherwise
there's no test coverage for this fix yet. (There's also no test
coverage of the existing code path, hence the bug.)
BUG=495870
Committed: https://crrev.com/86984d5fc56ce00e7b37ebe798aefa1d5374c83e
Cr-Commit-Position: refs/heads/master@{#339971}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|