Better Scenario error message surfacing #1428
Labels
feature
New feature or request
needs design
needs more thought or spec
testing
Related to ops.testing
Wrapping operator-raised errors with UncaughtCharmError can be misleading. Reconsider that choice and possibly let the charm errors bubble up.
Given this code:
I'd expect to run
pytest --pdb
and get dropped into this failing assertion line.Instead, I'm getting:
And I can't get to the original line that triggered the exception.
Here's a cleaned up back trace for reference:
Moved from canonical/ops-scenario#76 and canonical/ops-scenario#154
The text was updated successfully, but these errors were encountered: