|
@@ -16,7 +16,13 @@ const menuState = {
|
|
|
|
|
|
|
|
|
|
playerName = game.lang.student;
|
|
playerName = game.lang.student;
|
|
- getiLMContent();
|
|
+ try {
|
|
|
|
+ getiLMContent();
|
|
|
|
+ } catch (error) {
|
|
|
|
+ console.error(
|
|
|
|
+ 'Game error: Could not load the iLM Content on Moodle. ' + error
|
|
|
|
+ );
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
|
|
|
|
if (moodle && iLMparameters.iLM_PARAM_SendAnswer == 'true')
|
|
if (moodle && iLMparameters.iLM_PARAM_SendAnswer == 'true')
|