Skip to content
Snippets Groups Projects
Verified Commit 36c3154f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3419107 by Keshav Patel, Chi: FieldConfigEditForm::save should report...

Issue #3419107 by Keshav Patel, Chi: FieldConfigEditForm::save should report exceptions using warning or error messages
parent b3c74ca1
No related branches found
No related tags found
No related merge requests found
......@@ -451,7 +451,7 @@ public function save(array $form, FormStateInterface $form_state) {
}
}
catch (\Exception $e) {
$this->messenger()->addStatus(
$this->messenger()->addError(
$this->t(
'Attempt to update field %label failed: %message.',
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment