mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-09 16:46:20 +01:00
Correct typo in exception handling
This commit is contained in:
@@ -323,7 +323,7 @@ class EveApiManager:
|
|||||||
if int(e.code) == 222:
|
if int(e.code) == 222:
|
||||||
raise EveApiManager.ApiInvalidError(api_id)
|
raise EveApiManager.ApiInvalidError(api_id)
|
||||||
raise e
|
raise e
|
||||||
except (requests.exceptions.RequestExeception, HTTPError, URLError) as e:
|
except (requests.exceptions.RequestException, HTTPError, URLError) as e:
|
||||||
raise EveApiManager.ApiServerUnreachableError(e)
|
raise EveApiManager.ApiServerUnreachableError(e)
|
||||||
auth = AuthServicesInfo.objects.get(user=user)
|
auth = AuthServicesInfo.objects.get(user=user)
|
||||||
states = [auth.state]
|
states = [auth.state]
|
||||||
|
|||||||
Reference in New Issue
Block a user