diff --git a/src/routes/generic.ts b/src/routes/generic.ts index 8967a77b..9f15cfd1 100644 --- a/src/routes/generic.ts +++ b/src/routes/generic.ts @@ -9,6 +9,7 @@ import { DB } from '../database'; import { Site } from '../types/Site.type'; import { getCache, updateCache } from '../util/cache/cache'; import { informationWrap } from '../util/http/information_wrapper'; +import { log } from '../util/logging'; import { startAction } from '../util/sentry/createChild'; import { sentryHandle } from '../util/sentry/sentryHandle'; @@ -79,6 +80,8 @@ export const GenericRoute: FastifyPluginAsync<{}> = async (router) => { } ); + log.debug('site_data', { site_data }); + /* If site does not exist, send 404 */ if (!site_data) { reply.type('html');