Commit ae32abfd by Calen Pennington

Give a better error message when capa recieves an unknown action

parent 10ee2dea
......@@ -597,7 +597,7 @@ class CapaModule(CapaFields, XModule):
)
if dispatch not in handlers:
return 'Error'
return 'Error: {} is not a known capa action'.format(dispatch)
before = self.get_progress()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment