From ffe07995020c39855bd3162bb6f935b6b211732e Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 2 Apr 2010 20:03:08 +0100 Subject: [PATCH] Ignore errors on updating corporation details, avoids the DS1 issue for the moment --- eve_api/cron.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eve_api/cron.py b/eve_api/cron.py index a1d3826..fa856c3 100644 --- a/eve_api/cron.py +++ b/eve_api/cron.py @@ -31,4 +31,8 @@ class UpdateAPIs(): acc.save() for corp in EVEPlayerCorporation.objects.all(): - corp.query_and_update_corp() + try: + corp.query_and_update_corp() + except: + self._logger.error('Error updating %s' % corp) + continue