Bad error handling in corpora module
The corpora
module still uses useError
and throws strings instead of exceptions in some actions!
This causes a strange behavior when ListCorpus
has an error: the hidden action corpora/$_fetch
uses useError
, and then does not throw anything. This causes all other actions to believe the corpora have been loaded, and causes a ton of errors to show up in this Sentry issue for example.