monkey-front-core 0.0.325 → 0.0.326

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.
@@ -5321,12 +5321,14 @@ class MonkeyEcxHttpConfigErrorInterceptor {
5321
5321
  // no to do
5322
5322
  }
5323
5323
  async handle(request, error) {
5324
+ console.log('=====================6');
5324
5325
  if (this.monkeyecxAuthenticationService.refreshShouldHappen(error)) {
5325
5326
  await this.monkeyecxAuthenticationService?.refreshToken();
5326
5327
  const headers = await this.monkeyecxAuthenticationService.getRequestWithHeadersAsync(request);
5327
5328
  return headers;
5328
5329
  }
5329
- return throwError(error);
5330
+ console.log('=====================7');
5331
+ return throwError(null);
5330
5332
  }
5331
5333
  intercept(request, next) {
5332
5334
  console.log('=====================1');
@@ -5346,7 +5348,7 @@ class MonkeyEcxHttpConfigErrorInterceptor {
5346
5348
  setHeaders: resp
5347
5349
  });
5348
5350
  return next.handle(request);
5349
- }), catchError((error) => {
5351
+ }), catchError(() => {
5350
5352
  console.log('=====================5');
5351
5353
  console.log(error);
5352
5354
  this.monkeyecxErrorHandlingService.handleError(error, 'refresh_token');