Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -1064,7 +1064,7 @@ class ComponentSectionForm extends ComponentFormBase {
@@ -1064,7 +1064,7 @@ class ComponentSectionForm extends ComponentFormBase {
$data->set($data_values);
$data->set($data_values);
}
}
catch (InvalidInputException $e) {
catch (InvalidInputException $e) {
watchdog_exception('module_builder', $e);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('module_builder'), $e), fn() => watchdog_exception('module_builder', $e));
$this->messenger()->addError($this->t("There was a problem with the form data. The component was not saved."));
$this->messenger()->addError($this->t("There was a problem with the form data. The component was not saved."));
return;
return;
}
}
Loading