Sign up for Apify Platform here
Star Crawlee on GitHub
Star Crawlee for Python on GitHub
Apify and Crawlee Official Forum
New post
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Throw error that respects maxRequestRetries
Throw error that respects maxRequestRetries
Inactive
0
Follow
N
NeoNomade
last year
ยท
Hello,
With RetryRequestError, the request gets retried an infinite times until it succeeds, what error should I throw to respect the maxRequestRetries?
N
P
4 comments
Share
Open in Discord
N
NeoNomade
last year
can I kindly ask you to also help me here ?
P
Pepa J
last year
Hi I believe that there may be only exception for
RetryRequestError
so if you throw any other non children Error class that should work.
Generally
throw new Error('This will increase the request.retryCount')
should be working.
N
NeoNomade
last year
ok, thank you
N
NeoNomade
last year
much appreciated !
Add a reply
Sign up and join the conversation on Discord
Join on Discord