Problem/Motivation

Errors in D2 syntax will cause the node form to not save (when using the text filter) without further explanation. Errors are logged, but with a full stack-trace, since we're throwing an exception.

This could affect just viewing a node, as well. If the D2 binary is missing, for example, we get a WSOD.

Proposed resolution

Catch the exception and log it more succinctly. In the context of the text filter form submit, we should also probably set a message.

User interface changes

Log and/or display useful errors.

API changes

TBD

Comments

ergonlogic created an issue. See original summary.

  • star-szr committed 6ccde827 on 1.0.x
    feat: #3565963 Handle and report D2 errors
    
    By: ergonlogic
    By: star-szr
    
star-szr’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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