mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
extract: add generic exception handler when setting xattrs, fixes #5092
emit a warning message giving the path, xattr key and error message. also: continue trying to restore other xattrs and bsdflags afterwards (it did not continue with this before this fix).
This commit is contained in:
parent
2b992fe078
commit
ecae0841b1
1 changed files with 1 additions and 1 deletions
|
@ -147,5 +147,5 @@ def set_all(path, xattrs, follow_symlinks=False):
|
|||
logger.warning('%s: No space left on device while setting extended attribute %s (len = %d)' % (
|
||||
path_str, k_str, len(v)))
|
||||
else:
|
||||
raise
|
||||
logger.warning('%s: when setting extended attribute %s: %s' % (path_str, k_str, str(e)))
|
||||
return warning
|
||||
|
|
Loading…
Reference in a new issue