monkey-front-core 0.0.594 → 0.0.595
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 +7 -1
- package/fesm2015/monkey-front-core.mjs +6 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +6 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.595.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.594.tgz +0 -0
|
@@ -5227,8 +5227,11 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5227
5227
|
}
|
|
5228
5228
|
showMessage(message, error, mkc) {
|
|
5229
5229
|
const { snackbarService } = this;
|
|
5230
|
+
console.log('#########');
|
|
5231
|
+
console.log(error.status);
|
|
5230
5232
|
if (!this.isHttpCodeIgnoreMessage(mkc, error.status)) {
|
|
5231
5233
|
const keepOnUrlChange = error.status === 401;
|
|
5234
|
+
console.log('keepOnUrlChange', keepOnUrlChange);
|
|
5232
5235
|
snackbarService.show({
|
|
5233
5236
|
title: this.__i18n?.TITLE,
|
|
5234
5237
|
message,
|
|
@@ -5259,6 +5262,9 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5259
5262
|
if (notifications) {
|
|
5260
5263
|
customMessage = notifications;
|
|
5261
5264
|
}
|
|
5265
|
+
console.log('@@@@@');
|
|
5266
|
+
console.log(error);
|
|
5267
|
+
console.log('@@@@@');
|
|
5262
5268
|
if (!customMessage) {
|
|
5263
5269
|
if (error.error instanceof Blob) {
|
|
5264
5270
|
const blob = new Blob([error.error], {
|