-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"assert exc_value is e" assertion error #108
Comments
iirc flask-restful was a fork of flask-restplus or vice-versa, so I'm guessing whatever bug is screwing things up in the flask-restplus library is also breaking things here. If it is the same bug, there isn't anything I can do about it, as it is a problem with their extension breaking native flask functionality and nothing wrong with this extension (#86 has all the details for that). If you can provide me with a minimum working example, I could dig into it a little deeper and see if it is in fact the same issue. |
Sorry, please disregard this issue. It was an error in my custom errors handler which assumed DecodeError has a 'code' attribute which it hasn't:
However there was no way to rewind stack to this place in any sort of Flask back-traces and logs (exceptions are evil after all), found accidentally when building a minimal working example for you. Thank you anyway! |
Hi. I'm getting a following exception:
It's being intercepted in flask/app.py later, in handle_user_exception function, and fails on:
assert exc_value is e
I've logged e and exc_value, they are:
"Signature verification failed"
and
"'DecodeError' object has no attribute 'code'"
respectively.
Please help to find a workaround! I've tried:
found in issue #86 with no success...
The text was updated successfully, but these errors were encountered: