fix: handle undefined return from ctx.ui.input in forensics
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
14f8135972
commit
76f73243eb
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ export async function handleForensics(
|
|||
problemDescription = await ctx.ui.input(
|
||||
"Describe what went wrong:",
|
||||
"e.g. auto-mode got stuck on task T03",
|
||||
);
|
||||
) ?? "";
|
||||
}
|
||||
if (!problemDescription?.trim()) {
|
||||
ctx.ui.notify("Problem description required for forensic analysis.", "warning");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue