From 0a94afe691d60571a19f31ee39a083bde53a1f59 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 5 Feb 2026 14:32:32 -0500 Subject: [PATCH] chore(archives): add trace logging for content load and finalize well-commented code --- src/lib/ae_archives/ae_archives__archive.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/ae_archives/ae_archives__archive.ts b/src/lib/ae_archives/ae_archives__archive.ts index f0e70b22..ac7d3758 100644 --- a/src/lib/ae_archives/ae_archives__archive.ts +++ b/src/lib/ae_archives/ae_archives__archive.ts @@ -135,6 +135,12 @@ export async function load_ae_obj_li__archive({ `*** load_ae_obj_li__archive() *** for_obj_type=${for_obj_type} for_obj_id=${for_obj_id}` ); } + + // DEBUG: Trace massive content loads + if (inc_content_li) { + console.warn(`load_ae_obj_li__archive: Loading content for ALL archives in list! Limit: ${limit}`); + // console.trace(); + } ae_promises.load__archive_obj_li = await api .get_ae_obj_li_v3({