mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
877d997fe1
Previously there were a few issues with the code * We were capturing a promise without then then .then() that came after it, so our promise wouldn't always be completely resolved by the time then next piece of code was operating on it * We weren't catching all errors with .catch()