Skip to content

Commit

Permalink
Merge pull request #445 from episphere/add-logging
Browse files Browse the repository at this point in the history
added logging information
  • Loading branch information
anthonypetersen authored Jun 24, 2024
2 parents 3be91be + 15453a2 commit 9b4eb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questionnaire.js
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ function exitLoop(nextElement) {
let loopIndex = parseInt(nextElement.getAttribute("loopindx"));

if (isNaN(loopMax) || isNaN(firstQuestion) || isNaN(loopIndex)) {
console.error(`LoopMax, firstQuestion, or loopIndex is NaN for ${nextElement.id}`);
console.error(`LoopMax, firstQuestion, or loopIndex is NaN for ${nextElement.id}: loopMax=${loopMax}, firstQuestion=${firstQuestion}, loopIndex=${loopIndex}`);
return nextElement;
}

Expand Down

0 comments on commit 9b4eb9b

Please sign in to comment.