diff --git a/src/resources/extensions/gsd/guided-flow.ts b/src/resources/extensions/gsd/guided-flow.ts index 9349aecec..006384c82 100644 --- a/src/resources/extensions/gsd/guided-flow.ts +++ b/src/resources/extensions/gsd/guided-flow.ts @@ -591,7 +591,9 @@ export async function showDiscuss( try { const { buildStateMarkdown } = await import("./doctor.js"); await saveFile(resolveGsdRootFile(basePath, "STATE"), buildStateMarkdown(state)); - } catch { /* non-fatal — stale STATE.md is better than crashing */ } + } catch (err) { + process.stderr.write(`gsd: STATE.md rebuild: ${(err as Error).message}\n`); + } // No active milestone (or corrupted milestone with undefined id) — // check for pending milestones to discuss instead