log stuff

This commit is contained in:
Siddharth Singh
2024-08-05 21:32:44 +05:30
parent 9175596d5f
commit a3012d341b
2 changed files with 6 additions and 1 deletions

View File

@@ -60,7 +60,8 @@ export const frontendController: AppMiddleware = async (c, next) => {
try {
const meta = metadataView(await buildTemplateOpts(params, Conf.local(c.req.path)));
return c.html(content.replace(META_PLACEHOLDER, meta));
} catch {
} catch (e) {
console.debug(e);
return c.html(content);
}
}