forked from openlp/openlp
Reraise exception outside of checks
This commit is contained in:
parent
2b63b5d3ad
commit
33d8dcfa50
@ -417,6 +417,9 @@ def get_web_page(url, header=None, update_openlp=False):
|
|||||||
except ConnectionError:
|
except ConnectionError:
|
||||||
log.exception('Connection error: {}'.format(url))
|
log.exception('Connection error: {}'.format(url))
|
||||||
page = None
|
page = None
|
||||||
|
except:
|
||||||
|
# Don't know what's happening, so reraise the original
|
||||||
|
raise
|
||||||
if update_openlp:
|
if update_openlp:
|
||||||
Registry().get('application').process_events()
|
Registry().get('application').process_events()
|
||||||
if not page:
|
if not page:
|
||||||
|
Loading…
Reference in New Issue
Block a user