1
0
Fork 0
mirror of https://github.com/YunoHost/yunohost.git synced 2024-09-03 20:06:10 +02:00

Here we keep need to keep going and only display an error, otherwise the rest of the file ain't properly cleaned up

This commit is contained in:
Alexandre Aubin 2019-09-15 02:21:26 +02:00
parent 8e6ebd7979
commit 08ecace5ec

View file

@ -931,7 +931,11 @@ def app_install(operation_logger, app, label=None, args=None, no_remove_on_failu
logger.warning(msg)
operation_logger_remove.error(msg)
else:
try:
_assert_system_is_sane_for_app(manifest, "post")
except Exception as e:
operation_logger_remove.error(e)
else:
operation_logger_remove.success()
# Clean tmp folders