mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add some debug to _collect_app_files exception ...
This commit is contained in:
parent
2bf435bcce
commit
edc5295d51
1 changed files with 2 additions and 1 deletions
|
@ -734,7 +734,8 @@ class BackupManager:
|
|||
this_app_permissions = {name: infos for name, infos in permissions.items()}
|
||||
write_to_yaml("%s/permissions.yml" % settings_dir, this_app_permissions)
|
||||
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
logger.debug(e)
|
||||
abs_tmp_app_dir = os.path.join(self.work_dir, "apps/", app)
|
||||
shutil.rmtree(abs_tmp_app_dir, ignore_errors=True)
|
||||
logger.error(m18n.n("backup_app_failed", app=app))
|
||||
|
|
Loading…
Add table
Reference in a new issue