mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
More explicit error
This commit is contained in:
parent
a69cd443ae
commit
44455cd433
1 changed files with 1 additions and 1 deletions
|
@ -1803,7 +1803,7 @@ class TarBackupMethod(BackupMethod):
|
|||
# "dest"
|
||||
tar.add(path['source'], arcname=path['dest'])
|
||||
except IOError:
|
||||
logger.error(m18n.n('backup_archive_writing_error'), exc_info=1)
|
||||
logger.error(m18n.n('backup_archive_writing_error', source=path['source'], archive=self._archive_file, dest=path['dest']), exc_info=1)
|
||||
raise YunohostError('backup_creation_failed')
|
||||
finally:
|
||||
tar.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue