release: v0.20.1

This commit is contained in:
Ralksta
2026-10-04 09:49:35 +02:00
committed by GitHub
parent 5f831f719a
commit 9270546c9d
17 changed files with 189 additions and 47 deletions

View File

@@ -375,7 +375,12 @@ class ImmichClient {
}
if (!res.ok) {
console.error(`[Immich] Failed to stream ${assetId}: ${res.status}`);
console.error(
`[Immich] Failed to stream ${assetId}: ${res.status}` +
(res.status === 403 && endpoint.includes('/original')
? ' (the API key probably lacks the asset.download permission)'
: ''),
);
// Neither branch below reads the body — an unconsumed one keeps its
// socket out of undici's pool until GC finalises it (#635).
await res.body?.cancel();