re-enqueue request without throwing error
Is there any method of doing a request again without throwing an error but also respecting the maximum retries ?
const originalErrorLog = crawler.log.error.bind(crawler.log);
crawler.log.error = (message: string, data?: Record<string, unknown> | null) => {
if (message.includes(HIDE_MESSAGE_WATERMARK)) {
return;
}
originalErrorLog(message, data);
};