diff --git a/SharpbinV3.Client/src/routes/[id]/+page.server.ts b/SharpbinV3.Client/src/routes/[id]/+page.server.ts index d82ef3a..4240f9f 100644 --- a/SharpbinV3.Client/src/routes/[id]/+page.server.ts +++ b/SharpbinV3.Client/src/routes/[id]/+page.server.ts @@ -33,7 +33,7 @@ export const load: PageServerLoad = async ({ params, fetch, url, cookies }) => { } } else { - console.error(`Failed to increment view count for paste ${id}: ${await viewed.text()}`); + console.error(`Failed to increment view count for paste ${id}, status code ${viewed.status}: ${await viewed.text()}`); if (apiKey === '') { console.error('The API key for internal requests is not set. Please configure it in the environment variables.'); }