Skip to content

Commit eb28ce2

Browse files
mnriemCopilot
andcommitted
Clarify ignored directory fsync cleanup errors
Assisted-by: GitHub Copilot (model: MAI-Code-1-Flash, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent a80ac2b commit eb28ce2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/specify_cli/extensions/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def _fsync_directory(path: Path) -> None:
142142
try:
143143
os.close(dir_fd)
144144
except OSError:
145+
# Cleanup after an fsync failure should not mask the original error.
145146
pass
146147

147148

0 commit comments

Comments
 (0)