flask-restx icon indicating copy to clipboard operation
flask-restx copied to clipboard

Namespace's default_error_handler is not used anywhere

Open singular-value opened this issue 3 years ago • 0 comments

https://github.com/python-restx/flask-restx/blob/41b3b591b4be89d5d27e571dd3a75f849d4455ca/flask_restx/namespace.py#L61

Setting a default_error_handler on a Namespace does not do anything. Grepping the codebase shows that a default_error_handler attribute is never used (although can get set). By contrast, Api's _default_error_handler (with underscore at front) is used in the codebase.

singular-value avatar Dec 29 '21 19:12 singular-value