|
|
@ -752,7 +752,6 @@ class Site {
|
|
|
|
|
|
|
|
|
|
|
|
return reducedLinks
|
|
|
|
return reducedLinks
|
|
|
|
} catch (error) {
|
|
|
|
} catch (error) {
|
|
|
|
console.log(error)
|
|
|
|
|
|
|
|
if (error.constructor.name === 'TimeoutError') {
|
|
|
|
if (error.constructor.name === 'TimeoutError') {
|
|
|
|
throw new Error('The website took too long to respond')
|
|
|
|
throw new Error('The website took too long to respond')
|
|
|
|
}
|
|
|
|
}
|
|
|
|