@base44-preview/cli 0.1.32-pr.662.1bdb1fe → 0.1.32-pr.662.66693f8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -253294,7 +253294,6 @@ function safe(value) {
253294
253294
  function parseEdgeErrorBody(body) {
253295
253295
  const plain = PLAIN_TEXT_EDGE_ERROR.exec(body);
253296
253296
  if (plain) return { code: Number(plain[1]) };
253297
- if (!body.trimStart().startsWith("{")) return null;
253298
253297
  try {
253299
253298
  const json = JSON.parse(body);
253300
253299
  if (json === null || typeof json !== "object") return null;
@@ -256435,10 +256434,10 @@ var INVOCATION_LOGS_PATCH = [
256435
256434
  "};",
256436
256435
  "const _b44CrashResponse = (e) => {",
256437
256436
  " const c = _b44Context();",
256438
- " if (!c || !(c.invocationLogs || c.edgeErrors)) return null;",
256437
+ " if (!c || !c.invocationLogs) return null;",
256439
256438
  " const m = String(e instanceof Error ? e.message : e).toLowerCase();",
256440
256439
  " if (m.includes('cpu time limit') || m.includes('too many subrequests')) return null;",
256441
- " return _b44AttachInvocationLogs(_b44AttachEdgeErrors(new Response(JSON.stringify({ error: 'user-exception', detail: 'user worker threw an exception' }), { status: 500, headers: { 'Content-Type': 'application/json' } })));",
256440
+ " return _b44AttachInvocationLogs(new Response(JSON.stringify({ error: 'user-exception', detail: 'user worker threw an exception' }), { status: 500, headers: { 'Content-Type': 'application/json' } }));",
256442
256441
  "};"
256443
256442
  ].join(`
256444
256443
  `);
@@ -271519,4 +271518,4 @@ export {
271519
271518
  runCLI
271520
271519
  };
271521
271520
 
271522
- //# debugId=07CB780E430930C364756E2164756E21
271521
+ //# debugId=63471D49344D62A464756E2164756E21