Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Callback failed when catching error
Browse files Browse the repository at this point in the history
quzard authored Jan 21, 2025
1 parent 62a8373 commit ff72c68
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resource/sites/xp.m-team.cc/common.js
Original file line number Diff line number Diff line change
@@ -1027,8 +1027,10 @@
.then(result => {
this.downloadURLs(urls, count, callback);
})
.catch(result => {
this.downloadURLs(urls, count, callback);
.catch(error => {
console.log(error);
callback({status: 'failed', msg: error?.msg});
return;
});
} else {
this.sendTorrentToClient(

0 comments on commit ff72c68

Please sign in to comment.