add more debugging

This commit is contained in:
Bit Borealis 2023-08-19 05:28:24 +00:00
parent 77592d0a1c
commit 70b8bb1a1a

View file

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