mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
Correct typo in exception handling
This commit is contained in:
parent
88534837e2
commit
5738b015c3
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user