check pm for archive and stream link status

This commit is contained in:
TheBeastLT
2022-04-05 15:41:27 +02:00
parent a689620f74
commit 0ef906dacc
3 changed files with 10 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ async function getCachedStreams(streams, apiKey) {
if (error && error.code === 'AUTH_BAD_APIKEY') {
return Promise.reject(BadTokenError);
}
console.warn('Failed AllDebrid cached torrent availability request:', error);
console.warn(`Failed AllDebrid cached [${hashes[0]}] torrent availability request:`, error);
return undefined;
});
return available && available.data && available.data.magnets && streams