monkey-front-core 0.0.586 → 0.0.588
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 +3 -3
- package/fesm2015/monkey-front-core.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -2
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.588.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.586.tgz +0 -0
|
@@ -5220,7 +5220,7 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5220
5220
|
return found;
|
|
5221
5221
|
}
|
|
5222
5222
|
getMessageType(status) {
|
|
5223
|
-
if (status === 409 || status === 400 || status === 401) {
|
|
5223
|
+
if (status === 409 || status === 400 || status === 401 || status === 429) {
|
|
5224
5224
|
return 'warning';
|
|
5225
5225
|
}
|
|
5226
5226
|
return 'error';
|
|
@@ -5276,7 +5276,7 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5276
5276
|
const msg = error.status === 429
|
|
5277
5277
|
? this.__i18n['ERROR-HANDLING']?.['TOO-MANY-REQUEST'] ?? defaultMsg
|
|
5278
5278
|
: defaultMsg;
|
|
5279
|
-
this.showMessage(
|
|
5279
|
+
this.showMessage(msg, error, mkc);
|
|
5280
5280
|
}
|
|
5281
5281
|
}
|
|
5282
5282
|
else {
|