From 91caae665e5c678ef4c81d8b570e40be2a96417c Mon Sep 17 00:00:00 2001 From: ljf Date: Mon, 4 Jun 2018 21:39:28 +0200 Subject: [PATCH] [enh] Improve end failed message on app_install --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 570c2173d..7ec1ddc80 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -823,7 +823,7 @@ def app_install(uo, auth, app, label=None, args=None, no_remove_on_failure=False if install_retcode == -1: msg = m18n.n('operation_interrupted') + " " + error_msg raise MoulinetteError(errno.EINTR, msg) - msg = m18n.n('installation_failed') + " " + error_msg + msg = error_msg raise MoulinetteError(errno.EIO, msg) # Clean hooks and add new ones