In \Drupal\entity_embed\Plugin\Filter\EntityEmbedFilter::process when the embedded entity is not found, an EntityNotFoundException is thrown, which is then caught and logged through watchdog_exception().

I propose a patch to demote this from error to warning.

Comments

efpapado created an issue. See original summary.

efpapado’s picture

Status: Active » Needs review
StatusFileSize
new2.69 KB

Patch attached.

Status: Needs review » Needs work

The last submitted patch, 2: demote-entitynotfoundexception-to-warning--3015730.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

wim leers’s picture

Status: Needs work » Closed (duplicate)
Related issues: +#2982322: Mark missing embedded entities in WYSIWYG

This is a duplicate of #2982322: Mark missing embedded entities in WYSIWYG, could you please contribute to that issue instead? :) Please read it and chime in with your thoughts! 🙏