This commit is contained in:
2026-01-18 13:10:31 -08:00
parent 66e6c6eb72
commit 3ab122a55d
5 changed files with 175 additions and 88 deletions

View File

@@ -362,8 +362,8 @@ class HydrusNetwork(Store):
debug(
f"{self._log_prefix()} Duplicate detected - file already in Hydrus with hash: {file_hash}"
)
except Exception:
pass
except Exception as exc:
debug(f"{self._log_prefix()} metadata fetch failed: {exc}")
# If Hydrus reports an existing file, it may be in trash. Best-effort restore it to 'my files'.
# This keeps behavior aligned with user expectation: "use API only" and ensure it lands in my files.