fix(managed): budget decoding before representation expansion
Validation: integrated changes passed formatting, typecheck, lint, resolved module-boundary verification and git diff --check. Tests and real-provider workflows were not run.
This commit is contained in:
@@ -27,7 +27,11 @@ export const readManagedValue = <Value>(
|
||||
try {
|
||||
return operation();
|
||||
} catch (cause: unknown) {
|
||||
if (!(cause instanceof ManagedReaderFailure)) throw cause;
|
||||
if (
|
||||
!(cause instanceof ManagedReaderFailure) ||
|
||||
cause.issue.code === "resource-limit"
|
||||
)
|
||||
throw cause;
|
||||
issues.push(cause.issue);
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user