monkey-front-core 0.0.583 → 0.0.585
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/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +6 -2
- package/fesm2015/monkey-front-core.mjs +6 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +5 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.585.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-core-0.0.583.tgz +0 -0
|
@@ -5272,7 +5272,11 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5272
5272
|
reader.readAsText(blob);
|
|
5273
5273
|
}
|
|
5274
5274
|
else if (!error?.url?.includes('assets.monkey')) {
|
|
5275
|
-
this.
|
|
5275
|
+
const defaultMsg = this.__i18n['ERROR-HANDLING']?.ERROR;
|
|
5276
|
+
const msg = error.status === 429
|
|
5277
|
+
? this.__i18n['ERROR-HANDLING']?.['TOO-MANY-REQUEST'] ?? defaultMsg
|
|
5278
|
+
: defaultMsg;
|
|
5279
|
+
this.showMessage(msg, error, mkc);
|
|
5276
5280
|
}
|
|
5277
5281
|
}
|
|
5278
5282
|
else {
|