mirror of
https://github.com/morluto/rea.git
synced 2026-10-22 05:42:31 -05:00
fix(javascript): preserve resource error reasons across worker frames
Serialize the typed resource reason once and let the application own path formatting, retaining partial static observations and reported limits. Reviewed-PR: #3039 Co-authored-by: balkan16 <57933796+balkan16@users.noreply.github.com>
This commit is contained in:
1 parent
f14c2d4df3
commit
f2f83934d2
3 files changed
+57
-2
No files matched your search
@@ -278,7 +278,7 @@ export class JavaScriptAnalysisWorker {
|
||||
error: new AnalysisResourceConstraintError(
|
||||
OPERATION,
|
||||
response.resource ?? "memory",
|
||||
`${file.path}: ${response.message}`,
|
||||
response.message,
|
||||
{ ...this.#limits(), ...response.limits },
|
||||
),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user