While playing around with Facet API / Search API / Search API Ranges I killed a widget handler, unfortunately this caused a WSoD.
Attached patch "enables" survival mode for such cases, that means the error is logged and the invalid widget skipped.

Comments

cpliakas’s picture

Status: Needs review » Reviewed & tested by the community

This makes sense to me. If you look through the code there are also some other areas there I have added @todo's as a reminder for adding more defensive coding. I think the approach you take makes sense, and maybe utilizing debug() would be a good option as well? Either way, I will open a separate issue for best practices regarding defensive coding, but marking this patch as RTBC.

Thank for the contribution,
Chris

cpliakas’s picture

Status: Reviewed & tested by the community » Fixed

Resolved in commit 5468d82.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.