mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
rrs_upgrade_history: show text of any exception that blocks parsing
If an exception occurs during parsing, let's actually see what kind of exception it was in the output. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
0947ec0a65
commit
fb332736c6
|
@ -109,9 +109,9 @@ def _create_upgrade(recipe_data, layerbranch, ct, title, info, logger, initial=F
|
|||
_save_upgrade(recipe, pv, ct, title, info, logger)
|
||||
except KeyboardInterrupt:
|
||||
raise
|
||||
except:
|
||||
except Exception as e:
|
||||
logger.error("%s: fail to detect upgrade (%s -> %s)" \
|
||||
" in ct %s." % (pn, prev_pv, pv, ct))
|
||||
" in ct %s: %s" % (pn, prev_pv, pv, ct, str(e)))
|
||||
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user