fix(browser): preserve source-map cancellation results

This commit is contained in:
morluto
2026-10-14 01:56:05 +08:00
parent a742936108
commit bfcc9526a3
3 changed files with 102 additions and 1 deletions
+2
View File
@@ -167,6 +167,8 @@ export class CdpBrowserProvider implements BrowserObservationPort {
),
);
} catch (cause: unknown) {
if (options.signal?.aborted === true)
return err(new AnalysisCancelledError("analyze_web_bundle", { cause }));
return err(providerError(cause, "analyze_web_bundle"));
}
}