monkey-front-core 0.0.595 → 0.0.596

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.
@@ -5320,11 +5320,17 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
5320
5320
  }
5321
5321
  handleErrorRefreshToken(error, mkc) {
5322
5322
  const hasToRefresh = this.monkeyecxAuthenticationService.refreshShouldHappen(error);
5323
+ console.log('!!!!!!!!!');
5324
+ console.log(error.status);
5325
+ console.log(hasToRefresh);
5323
5326
  if ((error.status === 401 || error.status === 400) && hasToRefresh) {
5327
+ console.log('==========1');
5324
5328
  NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack(), {});
5329
+ console.log('==========2');
5325
5330
  setTimeout(() => {
5326
5331
  this.handleMessage(error, mkc);
5327
5332
  }, 1200);
5333
+ console.log('==========3');
5328
5334
  }
5329
5335
  else if (!this.isHttpCodeIgnoreMessage(mkc, error.status)) {
5330
5336
  this.handleMessage(error, mkc);