|
|
@ -452,7 +452,7 @@ class Client: |
|
|
|
log.debug(request_logging_format.format(method='GET', response=resp)) |
|
|
|
|
|
|
|
if resp.status != 200: |
|
|
|
if resp.status == 400: |
|
|
|
if resp.status == 401: |
|
|
|
raise LoginFailure('Improper token has been passed.') |
|
|
|
else: |
|
|
|
raise HTTPException(resp, None) |
|
|
|