Skip to content

Commit

Permalink
console.log the error
Browse files Browse the repository at this point in the history
  • Loading branch information
dphiffer committed Apr 26, 2024
1 parent 14683f0 commit 534f923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export const collect = async (inUrl: string, args: CollectorOptions) => {
)
]);
} catch (error) {
console.log(error);
console.log('First attempt failed, trying with domcontentloaded');
page_response = await page.goto(url, {
timeout: timeout,
Expand Down

0 comments on commit 534f923

Please sign in to comment.