mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 08:17:34 +00:00
fix: mini error
This commit is contained in:
1 parent
0a83145af0
commit
9cae9482f8
1 file changed
+3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user