We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently if you use a malformed expression, or the expression yields an error its hard to debug, in which property path the exception was caused.
ideally an exception would look like:
expression in template path: `childNodes.bar.properties.someProperty` threw Error: ...
it a bit tedious but a simple implementation could look like:
try { $propertyValue = $this->eelEvaluationService->evaluateEelExpression($propertyValue, $context); } catch (\Exception $exception) { throw new \Exception(sprintf('Property "%s": "%s" could not be evaluated.', $propertyName, $propertyValue), 1684257493838, $exception); }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently if you use a malformed expression, or the expression yields an error its hard to debug, in which property path the exception was caused.
ideally an exception would look like:
it a bit tedious but a simple implementation could look like:
The text was updated successfully, but these errors were encountered: