From 9b0844c480231becd0be973dd9f55a1fe74b0c8e Mon Sep 17 00:00:00 2001 From: Thomas Marstrander Date: Thu, 20 Aug 2015 16:16:02 +0200 Subject: [PATCH] Display error stack as well as useful error message. HFJ-946 --- js/questionset.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/questionset.js b/js/questionset.js index 4333b60..ff08a33 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -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); } }