From 9cae9482f846a7592647545ae8c1789c0740c3b3 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 29 Aug 2026 12:06:00 +0100 Subject: [PATCH] fix: mini error --- application/storage/local.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/storage/local.py b/application/storage/local.py index 31558040..388cf8d4 100644 --- a/application/storage/local.py +++ b/application/storage/local.py @@ -78,6 +78,9 @@ class LocalStorage(BaseStorage): try: os.unlink(temp_path) except OSError: + # Best-effort: the write already failed, and that exception is + # the one worth raising. A temp file we cannot remove must not + # mask it. pass raise