Skip to content

Commit

Permalink
propagating file errors upwards to group`
Browse files Browse the repository at this point in the history
  • Loading branch information
matijakolaric committed Dec 19, 2019
1 parent ef9f7c2 commit 0e65857
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions music_metadata/edi/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def get_transactions(self):
if isinstance(error, FileError):
self.valid = False
self.errors.append(error)
self.get_file().file_errors.append(error)
break
yield transaction
sequence += 1
Expand Down

0 comments on commit 0e65857

Please sign in to comment.