@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.
|
@@ -253,8 +253,10 @@ var __publicField = (obj, key, value) => {
|
|
|
253
253
|
ret = errorRes.body;
|
|
254
254
|
}
|
|
255
255
|
} else if (errorRes == null ? void 0 : errorRes.text) {
|
|
256
|
+
console.debug("error.text", errorRes.text);
|
|
256
257
|
ret = errorRes.text;
|
|
257
258
|
} else if (err instanceof Error) {
|
|
259
|
+
console.debug("instance of Error", err.message);
|
|
258
260
|
ret = err.message;
|
|
259
261
|
}
|
|
260
262
|
if (!ret || ret.length > MAX_ERROR_MESSAGE_LENGTH) {
|