Former-commit-id: 660ad7857e60fb66b3a2f9a2341057599fd0fa46
@@ -140,8 +140,9 @@ exports.getPageData = async options => {
jsRedirects++;
if (jsRedirects < MAX_JS_REDIRECTS) {
return exports.getPageData(options);
+ } else {
+ throw error;
}
- throw error;
} else {
throw error;