In data_source renderer hide and log exceptions in update_content() (fixes #5584)
This commit is contained in:
parent
db31f6387d
commit
f96099ed48
|
@ -220,8 +220,13 @@ class Data(object):
|
|||
log.warning(error)
|
||||
return None, error
|
||||
|
||||
|
||||
def update_content(self):
|
||||
try:
|
||||
return self.update_content_real()
|
||||
except:
|
||||
log.exception('exception while updating content')
|
||||
|
||||
def update_content_real(self):
|
||||
if self.url.startswith('http'):
|
||||
stream, error = self.resolve_http_url()
|
||||
elif self.url.startswith('file:'):
|
||||
|
|
Reference in New Issue