-
Bug
-
Resolution: Fixed
-
Critical
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
Eloy said:
Looking for uses of exceptions, I ended with this grep:
grep -Pr "new.*exception[^\"']*get_string" *
There are a lot of bad uses of exceptions with get_string() calls within them. We need to take rid of that ASAP, both in "normal" exceptions (first param is the errorcode no point about one get_string() call there) and also webservice_access_exception (first param is debuginfo and it cannot be translated). I'd recommend to create one issue about his point (in case it does not exist yet).