Skip to content

Commit

Permalink
Output referrer when there is a crawl error - resolves cloudfour#126
Browse files Browse the repository at this point in the history
  • Loading branch information
exortech committed Dec 20, 2022
1 parent 49f3054 commit 604c79b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-horses-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'lighthouse-parade': patch
---

Output referrer when there is a crawl error
2 changes: 2 additions & 0 deletions src/crawl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export function crawl(
console.warn(
`${kleur.yellow('⚠')} Error fetching (${response.statusCode}): ${
queueItem.url
} - referrer: ${
queueItem.referrer
}`
);
};
Expand Down

0 comments on commit 604c79b

Please sign in to comment.