[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

@@ -95,7 +95,7 @@ async function _resolve(AD, infoHash, cachedEntryInfo, fileIndex) {
return _retryCreateTorrent(AD, infoHash, cachedEntryInfo, fileIndex);
}
return Promise.reject(`Failed AllDebrid adding torrent ${torrent}`);
return Promise.reject(`Failed AllDebrid adding torrent ${JSON.stringify(torrent)}`);
}
async function _createOrFindTorrent(AD, infoHash) {