From e05594ac041720b12c3178ca91e194086eb792a4 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 3 Oct 2020 11:02:29 +0300 Subject: mute 400 for auth client api --- kvmd/clients/kvmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/clients') diff --git a/kvmd/clients/kvmd.py b/kvmd/clients/kvmd.py index d78aedbd..39813af2 100644 --- a/kvmd/clients/kvmd.py +++ b/kvmd/clients/kvmd.py @@ -60,7 +60,7 @@ class _AuthApiPart(_BaseApiPart): htclient.raise_not_200(response) return True except aiohttp.ClientResponseError as err: - if err.status in [401, 403]: + if err.status in [400, 401, 403]: return False raise -- cgit v1.2.3