mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-15 15:22:17 +00:00
Fix logging on corp tasks
This commit is contained in:
@@ -47,7 +47,7 @@ def import_corp_details_func(corp_id, log=logging.getLogger(__name__)):
|
|||||||
try:
|
try:
|
||||||
doc = CachedDocument.objects.api_query('/corp/CorporationSheet.xml.aspx', {'corporationID': corp_id})
|
doc = CachedDocument.objects.api_query('/corp/CorporationSheet.xml.aspx', {'corporationID': corp_id})
|
||||||
except DocumentRetrievalError, exc:
|
except DocumentRetrievalError, exc:
|
||||||
logger.error('Error retrieving CorporationSheet.xml.aspx for ID %s - %s' % (corp_id, exc))
|
log.error('Error retrieving CorporationSheet.xml.aspx for ID %s - %s' % (corp_id, exc))
|
||||||
raise APIAccessException
|
raise APIAccessException
|
||||||
|
|
||||||
d = basic_xml_parse_doc(doc)['eveapi']
|
d = basic_xml_parse_doc(doc)['eveapi']
|
||||||
|
|||||||
Reference in New Issue
Block a user