@esfaenza/core 19.2.69 → 19.2.71

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.
@@ -1109,7 +1109,7 @@ class APPErrorHandler {
1109
1109
  else
1110
1110
  newError = error.stack && error.stack.length > 1000 ? error.stack.substring(0, 999) + "[...]" : error.stack;
1111
1111
  var pars = { errorMessage: this.b64EncodeUnicode(newError), fromUrl: this.router.url };
1112
- this.router.navigate(["/err", pars]);
1112
+ this.router.navigate([`err/9999`, pars]);
1113
1113
  }
1114
1114
  b64EncodeUnicode(str) {
1115
1115
  // first we use encodeURIComponent to get percent-encoded UTF-8,
@@ -1460,8 +1460,8 @@ class HTTPServiceExtensions {
1460
1460
  }
1461
1461
  else {
1462
1462
  var st = btoa(encodeURIComponent(text).replace(/%([0-9A-F]{2})/g, (match, p1) => String.fromCharCode(("0x" + p1))));
1463
- var pars = { statusCode: status, statusText: st, fromUrl: this.router.url };
1464
- this.router.navigate(["err", pars]);
1463
+ var pars = { statusText: st, fromUrl: this.router.url };
1464
+ this.router.navigate([`err/${status}`, pars]);
1465
1465
  }
1466
1466
  }
1467
1467
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HTTPServiceExtensions, deps: [{ token: i1$2.LocalizationService }, { token: TokenService }, { token: AppState }, { token: i1$1.Router }, { token: i5$1.AccessControlService }, { token: i5.MessageService }], target: i0.ɵɵFactoryTarget.Injectable }); }