mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
one more error message (#125)
This commit is contained in:
parent
56c53acbab
commit
c682ac84b0
1 changed files with 6 additions and 1 deletions
|
|
@ -47,7 +47,12 @@ def _print_and_apply_changes(lib, item, move, pretend, write):
|
|||
lib.move(item, with_album=False)
|
||||
|
||||
if write:
|
||||
item.write()
|
||||
try:
|
||||
item.write()
|
||||
except Exception as exc:
|
||||
log.error(u'could not sync {0}: {1}'.format(
|
||||
repr(item.path), exc))
|
||||
return False
|
||||
lib.store(item)
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in a new issue