try:
# some code
...
except SomeExeception as exc:
raise MyException("my message") from exc
What I expect to happen:
an output like in core Python:
Traceback (most recent call last):
...
SomeExeception: some message
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
...
ValueError: my message
What actually happened:
I get only
Traceback (most recent call last):
...
ValueError: my message
What version of Python and Zope/Addons I am using:
BUG or UNSUPPORTED PYTHON FEATURE
What I did:
In my code used the
raise from
construct see also https://www.pythontutorial.net/python-oop/python-raise-from/:What I expect to happen:
an output like in core Python:
What actually happened:
I get only
What version of Python and Zope/Addons I am using:
Python 3.10 with Zope 5 and Plone 6