mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 04:09:29 +00:00
Better API handling, avoid hitting the character API with NPC corps
This commit is contained in:
@@ -20,5 +20,8 @@ class APIAccessException(Exception):
|
||||
Raised on Access errors of any kind, network and EVE API failures
|
||||
"""
|
||||
|
||||
def __init__(self, msg):
|
||||
self.msg = msg
|
||||
|
||||
def __str__(self):
|
||||
return "An error was encountered while accessing the EVE API."
|
||||
return "An error was encountered while accessing the EVE API: %s" % self.msg
|
||||
|
||||
Reference in New Issue
Block a user