@overmap-ai/core 1.0.65-error-message-fix.0 → 1.0.65-error-message-fix.1

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.
@@ -265,8 +265,10 @@ function extractErrorMessage(errorRes, err) {
265
265
  ret = errorRes.body;
266
266
  }
267
267
  } else if (errorRes == null ? void 0 : errorRes.text) {
268
+ console.debug("error.text", errorRes.text);
268
269
  ret = errorRes.text;
269
270
  } else if (err instanceof Error) {
271
+ console.debug("instance of Error", err.message);
270
272
  ret = err.message;
271
273
  }
272
274
  if (!ret || ret.length > MAX_ERROR_MESSAGE_LENGTH) {