Reraise exception outside of checks

This commit is contained in:
Ken Roberts 2015-02-18 12:40:39 -08:00
parent 2b63b5d3ad
commit 33d8dcfa50

View File

@ -417,6 +417,9 @@ def get_web_page(url, header=None, update_openlp=False):
except ConnectionError:
log.exception('Connection error: {}'.format(url))
page = None
except:
# Don't know what's happening, so reraise the original
raise
if update_openlp:
Registry().get('application').process_events()
if not page: