mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
handle more PM limits errors
This commit is contained in:
parent
1a9b2ba4f7
commit
96fa4ff19d
1 changed files with 5 additions and 2 deletions
|
|
@ -196,8 +196,11 @@ function isAccessDeniedError(error) {
|
|||
}
|
||||
|
||||
function isLimitExceededError(error) {
|
||||
return ['Fair use limit reached!', 'You already have a maximum of 25 active downloads in progress!']
|
||||
.some(value => error?.message?.includes(value));
|
||||
return [
|
||||
'Fair use limit reached!',
|
||||
'You already have a maximum of 25 active downloads in progress!',
|
||||
'Your space is full! Please delete old files first!'
|
||||
].some(value => error?.message?.includes(value));
|
||||
}
|
||||
|
||||
async function getDefaultOptions(ip) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue