layerindex-web/layerindex
Paul Eggleton 74ea84f696 update_layer: improve exception handling
When an exception occurs during the main part of update_layer, we were
catching and printing it but that's not enough - we need to do the
following as well:

* Use logger.error() to print the exception information, so that it gets
  logged and highlighted as an error in the layer update
* Exit with a non-zero return code so that update.py knows it has failed

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-08-14 15:07:34 +02:00
..
migrations Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
static Add side-by-side comparison detail and enhanced selection 2018-08-13 16:04:16 +02:00
templatetags Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
tools Add script to fetch Fedora package sources 2018-08-13 16:04:16 +02:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
bulkchange.py bulkchange: make script more robust 2018-08-06 12:36:31 +02:00
context_processors.py Add support for other distro comparisons 2018-08-07 14:44:27 +02:00
forms.py Add side-by-side comparison detail and enhanced selection 2018-08-13 16:04:16 +02:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py Show links to include files on recipe detail 2018-08-13 16:04:16 +02:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py recipeparse: don't error out on missing layer recommends 2018-07-09 13:50:15 +02:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py restviews: add additional layer view with extra nested fields 2018-02-07 11:27:48 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
tasks.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
update_layer.py update_layer: improve exception handling 2018-08-14 15:07:34 +02:00
update.py update: avoid errors if values could not be found in initial output 2018-08-14 08:46:36 +02:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py Add side-by-side comparison detail and enhanced selection 2018-08-13 16:04:16 +02:00
utils.py Add basic CSV export for other distro comparisons 2018-08-13 16:02:59 +02:00
views.py Show links to include files on recipe detail 2018-08-13 16:04:16 +02:00