src/Render/BigPipe.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Render/BigPipe.php b/src/Render/BigPipe.php index 02c9cf4..bf002ee 100644 --- a/src/Render/BigPipe.php +++ b/src/Render/BigPipe.php @@ -191,6 +191,12 @@ class BigPipe implements BigPipeInterface { * @param \Drupal\Core\Asset\AttachedAssetsInterface $cumulative_assets * The cumulative assets sent so far; to be updated while rendering no-JS * BigPipe placeholders. + * + * @throws \Exception + * If an exception is thrown during the rendering of a placeholder, it is + * caught to allow the other placeholders to still be replaced. But when + * error logging is configured to be verbose, the exception is rethrown to + * simplify debugging. */ protected function sendNoJsPlaceholders($html, $no_js_placeholders, AttachedAssetsInterface $cumulative_assets) { // Split the HTML on every no-JS placeholder string.