Give a better error message when capa recieves an unknown action
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user