diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2023-12-16 09:36:55 +0100 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2023-12-16 12:13:20 +0100 |
| commit | 1ce639f2f990cb9bc005a705ab3b5b39a4a01ad0 (patch) | |
| tree | 33d06cbf1277c643b284267e32fd07eaf966e34d /rc/tools/python | |
| parent | 83fb65aef5729167b47c6ec22a57e5bd6ac5a9ae (diff) | |
rc windowing: with-option to restore option value also after error
Today "with-option foo bar command-that-fails" fails with
Error: 1:1: 'evaluate-commands': 1:1: 'with-option': 2:5: 'evaluate-commands': 4:9: 'evaluate-commands': 1:2: 'no-such-command': no such command
but leaks the option value. Fix this by resetting the option and
rethrowing the error. Unfortunately the original stack trace is lost
(questionable behavior inherited from C++?).
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
