Display error stack as well as useful error message.

HFJ-946
pull/1/head
Thomas Marstrander 2015-08-20 16:16:02 +02:00
parent 7c6aa504fd
commit 9b0844c480
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,7 @@ H5P.QuestionSet = function (options, contentId) {
}
catch(error) {
H5P.error("subcontent does not contain a valid showSolutions function");
H5P.error(error);
}
}
};
@ -212,6 +213,7 @@ H5P.QuestionSet = function (options, contentId) {
}
catch(error) {
H5P.error("subcontent does not contain a valid resetTask function");
H5P.error(error);
}
}