@magiclabs.ai/magicbook-client 0.7.23-canary → 0.7.24-canary

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/index.js CHANGED
@@ -6191,7 +6191,11 @@ var Fetcher = class {
6191
6191
  try {
6192
6192
  return await res.json();
6193
6193
  } catch (error) {
6194
- return {};
6194
+ try {
6195
+ return await res.text();
6196
+ } catch (e) {
6197
+ return {};
6198
+ }
6195
6199
  }
6196
6200
  } else {
6197
6201
  let detail = res.statusText;