@senior-gestao-pessoas/hcm-advanced-filter-general 5.0.1-develop-ac1c19c4 → 5.0.1-develop-b9bcb0dc

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.
@@ -1113,7 +1113,7 @@ var EntityService = /** @class */ (function () {
1113
1113
  var _this = this;
1114
1114
  return catchError(function (err) {
1115
1115
  if (err) {
1116
- var summary = err.status ? String(err.status) : "Error";
1116
+ var summary = _this.translate.instant("hcm_contract.employment_contract.error");
1117
1117
  var detail = (err.error && err.error.message) || err.statusText || err.message || "Error";
1118
1118
  if (err.status === 401) {
1119
1119
  summary = _this.translate.instant("hcm_contract.employment_contract.error_unauthorized_title");