[addon] improve moch error logging

This commit is contained in:
TheBeastLT
2021-02-24 11:49:45 +01:00
parent 622e4d7274
commit 5e5e749691
3 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ async function _resolve(PM, infoHash, cachedEntryInfo, fileIndex, ip) {
console.log(`Retrying downloading to Premiumize ${infoHash} [${fileIndex}]...`);
return _retryCreateTorrent(PM, infoHash, cachedEntryInfo, fileIndex);
}
return Promise.reject("Failed Premiumize adding torrent");
return Promise.reject(`Failed Premiumize adding torrent ${JSON.stringify(torrent)}`);
}
async function _getCachedLink(PM, infoHash, encodedFileName, fileIndex, ip) {