@senior-gestao-pessoas/hcm-advanced-filter-general 5.0.1 → 5.0.2-develop-ff8e76d8

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.
@@ -1315,7 +1315,7 @@
1315
1315
  var _this = this;
1316
1316
  return operators.catchError(function (err) {
1317
1317
  if (err) {
1318
- var summary = err.status ? String(err.status) : "Error";
1318
+ var summary = _this.translate.instant("hcm_contract.employment_contract.error");
1319
1319
  var detail = (err.error && err.error.message) || err.statusText || err.message || "Error";
1320
1320
  if (err.status === 401) {
1321
1321
  summary = _this.translate.instant("hcm_contract.employment_contract.error_unauthorized_title");