diff options
author | Devaev Maxim <[email protected]> | 2020-10-03 11:02:29 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-03 11:02:29 +0300 |
commit | e05594ac041720b12c3178ca91e194086eb792a4 (patch) | |
tree | 165d2ef2fb8dbfcf57f0cb935e477c7617f35a0d /kvmd/clients | |
parent | 29dd78c247dab3d96a1f53312f482b0acbf3dbf0 (diff) |
mute 400 for auth client api
Diffstat (limited to 'kvmd/clients')
-rw-r--r-- | kvmd/clients/kvmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |