From 49ef77e40a9a076722ec8f419b318f7911bafaa8 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 10 Apr 2026 11:50:46 -0500 Subject: [PATCH] fix(gsd): replace empty catch with logWarning for CI compliance --- src/resources/extensions/gsd/guided-flow.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/extensions/gsd/guided-flow.ts b/src/resources/extensions/gsd/guided-flow.ts index a7199fe04..d3b6836e4 100644 --- a/src/resources/extensions/gsd/guided-flow.ts +++ b/src/resources/extensions/gsd/guided-flow.ts @@ -499,8 +499,8 @@ async function prepareAndBuildDiscussPrompt( preparationContext = `\n\n## Preparation Context\n\nThe system analyzed the codebase before this discussion. Use these findings as background context — they describe what already exists, NOT what the user wants to build. Always ask the user what they want to build first.\n\n${parts.join("\n\n")}`; } } - } catch { - // Non-fatal — proceed without preparation context + } catch (err) { + logWarning("guided", `preparation failed, proceeding without context: ${(err as Error).message}`); } }