Only catch metadata exceptions from description_html

This commit is contained in:
Daniel Martí 2014-07-09 16:48:28 +02:00
parent d5b06ec008
commit 4ffa13167e

View file

@ -497,7 +497,7 @@ def read_metadata(xref=True):
for app in apps: for app in apps:
try: try:
description_html(app['Description'], linkres) description_html(app['Description'], linkres)
except Exception, e: except MetaDataException, e:
raise MetaDataException("Problem with description of " + app['id'] + raise MetaDataException("Problem with description of " + app['id'] +
" - " + str(e)) " - " + str(e))