Skip to content

Commit

Permalink
ExportFailures.handling_exception keep context
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Nov 18, 2024
1 parent 9ea37fe commit 7b486db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime_backup/types/export_failure.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def handling_exception(self, file: schema.File):
file = FileInfo.of(file)
self.failures.append(ExportFailure(file, e))
else:
raise e from None
raise

def __len__(self) -> int:
return len(self.failures)
Expand Down

0 comments on commit 7b486db

Please sign in to comment.