fix undefined e variable (#8240)
This commit is contained in:
parent
14c187b554
commit
cca2f6d621
|
@ -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 []
|
||||
|
||||
|
|
Loading…
Reference in New Issue