mirror of
https://github.com/beetbox/beets.git
synced 2026-02-16 12:24:53 +01:00
don't wrap standard errors during Mutagen save()
This commit is contained in:
parent
05ebd6d28e
commit
d778443ea0
1 changed files with 3 additions and 0 deletions
|
|
@ -1237,6 +1237,9 @@ class MediaFile(object):
|
|||
# Isolate bugs in Mutagen.
|
||||
try:
|
||||
self.mgfile.save(**kwargs)
|
||||
except (IOError, OSError):
|
||||
# Propagate these through: they don't represent Mutagen bugs.
|
||||
raise
|
||||
except Exception as exc:
|
||||
log.debug(traceback.format_exc())
|
||||
log.error('uncaught Mutagen exception in save: {0}'.format(exc))
|
||||
|
|
|
|||
Loading…
Reference in a new issue