Unclear which HTTPError
was instantiated from deprecated_args()
warnings
#2010
Labels
Milestone
HTTPError
was instantiated from deprecated_args()
warnings
#2010
In Falcon 3.0.x, instantiating
HTTPError
or its subclasses with positional arguments (of course except the allowed ones) generates aDeprecatedWarning
via thedeprecated_args()
decorator.However, it is unclear from the warning which class/function was invoked, it just says "calls [with more than N] positional args are deprecated". Brought up by @laurent-chriqui (see the linked PR).
Ideally, as a developer, I would like the warning to read along the lines of
The text was updated successfully, but these errors were encountered: