Skip to content

Commit

Permalink
Added some verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Dec 27, 2024
1 parent 7bfc724 commit 146bbbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/PagesParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ export class PagesParser {
draft: article?.data.draft
};

Logger.verbose(`PagesParser:processPageContent::FrontMatter: ${JSON.stringify(article.data)}`);
Logger.verbose(`PagesParser:processPageContent::Page: ${JSON.stringify(page)}`);

let previewFieldParents = ContentType.findPreviewField(contentType.fields);
if (previewFieldParents.length === 0) {
const previewField = contentType.fields.find(
Expand Down

0 comments on commit 146bbbf

Please sign in to comment.