diff --git a/js/main.js b/js/main.js index 65517ff..0994977 100644 --- a/js/main.js +++ b/js/main.js @@ -302,6 +302,7 @@ function getInfoBits(){ * https://github.com/waidotto/strong-qr-decoder ***/ function loadTxt2Array(lines) { + console.info(lines) let sz = lines.length; var data = []; @@ -332,7 +333,7 @@ function loadTxt2Array(lines) { break; default: - throw `Error invalid text QR caracters: ${lines[i][j]}` + throw `Error invalid text QR caracter: ${lines[i][j]}; from: ${i}x${j}` } } }