numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
197 stars 118 forks source link

JME part: Bad error message when submitting an invalid character #1083

Closed christianp closed 4 months ago

christianp commented 4 months ago

e.g., write ! in the answer box and submit. At the moment, you get an error message "There was an error numerically checking your answer: Variable value_generators is not defined." It should be the error message "Your answer is not a valid mathematical expression."