mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 11:49:29 +00:00
Make the exceptions Pickleable, stop Celery popping due to bad Exceptions
This commit is contained in:
@@ -22,6 +22,7 @@ class APIAccessException(Exception):
|
||||
|
||||
def __init__(self, msg):
|
||||
self.msg = msg
|
||||
Exception.__init__(self, msg)
|
||||
|
||||
def __str__(self):
|
||||
return "An error was encountered while accessing the EVE API: %s" % self.msg
|
||||
|
||||
Reference in New Issue
Block a user