Files
webadderall eaf87be95b Recordly 2.0 local review stack 2/6
Dependency-ordered review preparation. Not pushed or remotely reviewed.
2026-11-06 05:24:21 +11:00

8 lines
300 B
TypeScript

/** Helper markers are line-framed; keep the actual OS/writer error visible after partial recovery. */
export function parseNativeCaptureInterruption(output: string): string | null {
return (
/(?:^|\n)(?:CAPTURE_INTERRUPTED|STREAM_STOPPED):\s*([^\r\n]+)/.exec(output)?.[1]?.trim() ||
null
);
}