Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a global function in a template throws an error, we don’t see the full trace of the error, which makes diagnosing issues really hard. This makes use of the [undocumented dev argument](mozilla/nunjucks#1430) which allows us to see the cause of the error in our logs and in Sentry. [Copied from CAS1.](ministryofjustice/hmpps-approved-premises-ui@8eed08b)
- Loading branch information