summaryrefslogtreecommitdiff
path: root/kvmd/clients
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-03 11:02:29 +0300
committerDevaev Maxim <[email protected]>2020-10-03 11:02:29 +0300
commite05594ac041720b12c3178ca91e194086eb792a4 (patch)
tree165d2ef2fb8dbfcf57f0cb935e477c7617f35a0d /kvmd/clients
parent29dd78c247dab3d96a1f53312f482b0acbf3dbf0 (diff)
mute 400 for auth client api
Diffstat (limited to 'kvmd/clients')
-rw-r--r--kvmd/clients/kvmd.py2
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