fix undefined e variable (#8240)

This commit is contained in:
Benjamin Dauvergne 2016-07-28 17:10:22 +02:00
parent 14c187b554
commit cca2f6d621
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class MontpellierSig(BaseResource):
return []
try:
return json.loads(resp.content)
except:
except Exception, e:
logger.warning('error occured while trying to read json data from %r: %r', endpoint, e)
return []