@veloceapps/sdk 8.0.0-190 → 8.0.0-191

Sign up to get free protection for your applications and to get access to all the features.
@@ -2241,14 +2241,7 @@ class ConfigurationStateService {
2241
2241
  }
2242
2242
  let configurationRequest = this.configurationService.generateRequest();
2243
2243
  request.actions.forEach(action => {
2244
- try {
2245
- configurationRequest = this.executeActionScript(configurationRequest, action) ?? configurationRequest;
2246
- }
2247
- catch (e) {
2248
- console.error(e);
2249
- this.toastService.add({ severity: ToastType.error, summary: String(e) });
2250
- throw e;
2251
- }
2244
+ configurationRequest = this.executeActionScript(configurationRequest, action) ?? configurationRequest;
2252
2245
  });
2253
2246
  return this.configurationService.configureRequest$(configurationRequest);
2254
2247
  }), map$1(() => {
@@ -2274,6 +2267,11 @@ class ConfigurationStateService {
2274
2267
  return result;
2275
2268
  }, { stateId: '', selectors: {} });
2276
2269
  return selectorsResult;
2270
+ }), catchError(error => {
2271
+ if (!this.configurationRuntimeService.uiDefinitionProperties.suppressToastMessages) {
2272
+ this.toastService.add({ severity: ToastType.error, summary: String(error) });
2273
+ }
2274
+ return throwError(() => error);
2277
2275
  }));
2278
2276
  }
2279
2277
  executeStateful$(request) {