mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Fail if script fail
This commit is contained in:
parent
b79d5ae416
commit
10c8babf8c
1 changed files with 4 additions and 7 deletions
|
@ -1939,15 +1939,12 @@ ynh_panel_run $1
|
|||
"app_instance_nb": str(app_instance_nb),
|
||||
})
|
||||
|
||||
try:
|
||||
_, parsed_values = hook_exec(
|
||||
config_script, args=[action], env=env
|
||||
)
|
||||
except (KeyboardInterrupt, EOFError, Exception):
|
||||
logger.error('Unable to extract some values')
|
||||
parsed_values = {}
|
||||
_, parsed_values = hook_exec(
|
||||
config_script, args=[action], env=env
|
||||
)
|
||||
return parsed_values
|
||||
|
||||
|
||||
def _get_all_installed_apps_id():
|
||||
"""
|
||||
Return something like:
|
||||
|
|
Loading…
Add table
Reference in a new issue