Skip to content

Commit

Permalink
Merge pull request #60 from happo/controller-error-message
Browse files Browse the repository at this point in the history
Improve warning message when failing to fetch CSS
  • Loading branch information
trotzig authored Feb 3, 2025
2 parents 3754ff1 + cb03cc4 commit e39114e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function downloadCSSContent(blocks) {
res = await proxiedFetch(absUrl, { retryCount: 5 });
} catch (e) {
console.warn(
`[HAPPO] Failed to fetch CSS file from ${block.href} (using base URL ${block.baseUrl}). This might mean styles are missing in your Happo screenshots`,
`[HAPPO] Failed to fetch CSS file from ${absUrl} (using ${block.href} with base URL ${block.baseUrl}). This might mean styles are missing in your Happo screenshots.`,
);
return;
}
Expand Down

0 comments on commit e39114e

Please # to comment.