Skip to content

Commit

Permalink
fix: trivial log info update
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiAlexandruParaschiv committed Aug 14, 2024
1 parent 508703e commit e685db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canonical/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export async function validateCanonicalRecursively(canonicalUrl, log, visitedUrl
try {
const response = await fetch(canonicalUrl, { redirect: 'manual' });
if (response.ok) {
log.info(`Canonical URL is accessible: ${canonicalUrl}`, response.status);
log.info(`Canonical URL is accessible: ${canonicalUrl}, statusCode: ${response.status}`);
checks.push({
check: CANONICAL_CHECKS.CANONICAL_URL_STATUS_OK.check,
success: true,
Expand Down

0 comments on commit e685db9

Please sign in to comment.