Closed charles-dyfis-net closed 8 years ago
Indeed, I thought about it. I left it like that on purpose, because you're not supposed to use the framework with -e
set anyway (since that defeats the point of using error handling or try & catch). It's an easy fix though as it would only require capturing the flag first and setting it to the previous setting.
Feel free to file a pull request.
Solved with v2.0
...but rather forces
-e
to be unset when leaving a try block, regardless of its prior value.