mirror of
https://github.com/morluto/rea.git
synced 2026-10-31 11:56:12 +00:00
fix(process): preserve environment snapshots and final cancellation
This commit is contained in:
1 parent
eecadf35b2
commit
e2d4c0dabb
5 files changed
+178
-2
No files matched your search
@@ -550,6 +550,14 @@ export class JavaScriptAnalysisWorker {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (result.ok && signal?.aborted === true) {
|
||||
const error = new AnalysisCancelledError(OPERATION, {
|
||||
cause: signal.reason,
|
||||
capturedOutput: this.#captured(),
|
||||
});
|
||||
this.#lastFailure = error;
|
||||
result = err({ error, javascript, module, projection });
|
||||
}
|
||||
if (this.#applicationProjectionFailure !== undefined)
|
||||
return result.ok
|
||||
? ok({
|
||||
|
||||
Reference in new issue
Block a user