The node you are looking for is at api variable djula *catch-template-errors-p*.