fix(integrations): throw on total item-info failure to preserve stale-cache fallback (#6522)

This commit is contained in:
Thomas authored and GitHub committed 2026-08-06 21:42:46 +02:00
1 parent 778533a62e
commit 55214ccbc5
2 files changed
+8 -1

No files matched your search

@@ -185,9 +185,15 @@ export class OverseerrIntegration
}),
);
return settled
const fulfilled = settled
.filter((result): result is PromiseFulfilledResult<MediaRequest> => result.status === "fulfilled")
.map((result) => result.value);
if (fulfilled.length === 0) {
throw new Error("Failed to resolve any media request information");
}
return fulfilled;
}
protected mapRequestStatus(status: UpstreamMediaRequestStatus): MediaRequestStatus {