mute 400 for auth client api

This commit is contained in:
Devaev Maxim 2020-10-03 11:02:29 +03:00
parent 29dd78c247
commit e05594ac04

View File

@ -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