@overmap-ai/core 1.0.24 → 1.0.25-fix-api-error-messages.0
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/overmap-core.js
CHANGED
|
@@ -3431,7 +3431,7 @@ async function performRequest(action, client) {
|
|
|
3431
3431
|
}
|
|
3432
3432
|
}
|
|
3433
3433
|
const apiErrorMessage = ((_a2 = originalError.body) == null ? void 0 : _a2.error) ?? originalError.text ?? originalError.error;
|
|
3434
|
-
console.log("API error
|
|
3434
|
+
console.log("API error:", originalError);
|
|
3435
3435
|
throw new APIError(
|
|
3436
3436
|
typeof apiErrorMessage === "string" ? apiErrorMessage : (
|
|
3437
3437
|
// TODO: Error codes for all APIErrors.
|