diff --git a/src/Plugin/Filter/EntityEmbedFilter.php b/src/Plugin/Filter/EntityEmbedFilter.php index 01b4d731..adaf0ece 100644 --- a/src/Plugin/Filter/EntityEmbedFilter.php +++ b/src/Plugin/Filter/EntityEmbedFilter.php @@ -116,6 +116,9 @@ public function process($text, $langcode) { throw new EntityNotFoundException(sprintf('Unable to load embedded %s entity %s.', $entity_type, $id)); } } + catch(\Drupal\Core\Form\EnforcedResponseException $e) { + throw $e; + } catch(\Exception $e) { watchdog_exception('entity_embed', $e); }