Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Error handlers on namespaces causes error #141
When error handlers are registered on a namespace and afterwards are transfered to api an error occurs. I got it working on my side by adding ".items()" on api.py:398:
Due to the lack of time I cannot go through the contribution process myself.
When starting the program you will get:
This issue is located at
Fixed by changing to:
I've got the same issue. I made the fix above directly in my virtualenv files (Flask-RESTPlus 0.9.0) and I no longer get the TypeError, but...
When my code throws the custom exception, I get this AssertionError in Flask. Note that without the handler, I do see my unhandled custom exception being thrown correctly.