Don't log every 404 error.

This commit is contained in:
corsacca 2026-05-04 10:55:03 +01:00
parent eb7a1792d6
commit f2d4e60102

View file

@ -76,7 +76,7 @@ const { data, error } = await useAsyncData<PageResponse | null>(
if (!data.value && !error.value) {
// Explicit 404 if the page isn't in the CMS (or not published)
throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })
throw createError({ statusCode: 404, statusMessage: 'Page not found' })
}
// <head>