Catch exceptions for render/entity failures

Created on 9 June 2011, about 14 years ago
Updated 4 July 2025, 2 days ago

Currently, if an exception is thrown when generating a block, a huge horrible fatal error is generated. Really we don't need to have anything quite that exotic. Why don't we put a try/catch around the block generation and not render the block (and emit a regular _drupal_log_error() or something) so that the administrator gets the information, but we don't deliver a full fatal error for every page where the block is to be rendered.

📌 Task
Status

Closed: outdated

Version

1.0

Component

User experience

Created by

🇺🇸United States rfay Palisade, CO, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024