mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Improve end failed message on app_install
This commit is contained in:
parent
9d59c8555a
commit
91caae665e
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ def app_install(uo, auth, app, label=None, args=None, no_remove_on_failure=False
|
||||||
if install_retcode == -1:
|
if install_retcode == -1:
|
||||||
msg = m18n.n('operation_interrupted') + " " + error_msg
|
msg = m18n.n('operation_interrupted') + " " + error_msg
|
||||||
raise MoulinetteError(errno.EINTR, msg)
|
raise MoulinetteError(errno.EINTR, msg)
|
||||||
msg = m18n.n('installation_failed') + " " + error_msg
|
msg = error_msg
|
||||||
raise MoulinetteError(errno.EIO, msg)
|
raise MoulinetteError(errno.EIO, msg)
|
||||||
|
|
||||||
# Clean hooks and add new ones
|
# Clean hooks and add new ones
|
||||||
|
|
Loading…
Add table
Reference in a new issue