core: fix form not showing general errors
This commit is contained in:
@ -64,4 +64,4 @@ class PromptForm(forms.Form):
|
||||
engine.build()
|
||||
result = engine.result
|
||||
if not result.passing:
|
||||
raise forms.ValidationError(result.messages)
|
||||
raise forms.ValidationError(list(result.messages))
|
||||
|
||||
Reference in New Issue
Block a user