diff --git a/locust/contrib/fasthttp.py b/locust/contrib/fasthttp.py index 9273b1d1f3..2ef5aaf9de 100644 --- a/locust/contrib/fasthttp.py +++ b/locust/contrib/fasthttp.py @@ -568,7 +568,7 @@ def success(self): "If you want to change the state of the request, you must pass catch_response=True. See http://docs.locust.io/en/stable/writing-a-locustfile.html#validating-responses" ) - def failure(self): + def failure(self, *_args, **_kwargs): raise LocustError( "If you want to change the state of the request, you must pass catch_response=True. See http://docs.locust.io/en/stable/writing-a-locustfile.html#validating-responses" )