Open justuswilhelm opened 7 years ago
As a rule of thumb, one should not expect to get the same exception message from the decorated function as if it was not.
It still gives the correct exception type, however, but totally unintuitive stacktrace.
I agree this seems like a very likely place to run into exceptions. I will have a look if anything can be done about the clarity of such exceptions at this moment.
Thanks.
I have had this obscure problem, which I would call a bug since one would expect to get a proper error message like Python 3 normally does.
I use
Python 3.6.1
andenforce==0.3.4
will output