fix(gsd): use logWarning instead of raw stderr in catch blocks
This commit is contained in:
parent
5a51631941
commit
f4ecfd1a56
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ export async function showDiscuss(
|
|||
const { buildStateMarkdown } = await import("./doctor.js");
|
||||
await saveFile(resolveGsdRootFile(basePath, "STATE"), buildStateMarkdown(state));
|
||||
} catch (err) {
|
||||
process.stderr.write(`gsd: STATE.md rebuild: ${(err as Error).message}\n`);
|
||||
logWarning("guided", `STATE.md rebuild failed: ${(err as Error).message}`);
|
||||
}
|
||||
|
||||
// No active milestone (or corrupted milestone with undefined id) —
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue