We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8cc355 commit 03356cbCopy full SHA for 03356cb
packages/cli/src/cli/localizer/explicit.ts
@@ -309,7 +309,9 @@ function createAiSdkLocalizer(params: {
309
console.error(
310
`Failed to parse nested JSON response. Snippet: ${result.data.slice(0, 100)}...`,
311
);
312
- // Fallback to empty object or continue
+ throw new Error(
313
+ `Failed to parse nested JSON response: ${e} (Snippet: ${result.data.slice(0, 100)}...)`,
314
+ );
315
}
316
317
0 commit comments