mirror of
https://github.com/Merricx/qrazybox.git
synced 2025-04-19 17:49:04 +02:00
add more debugging
This commit is contained in:
parent
77592d0a1c
commit
70b8bb1a1a
1 changed files with 2 additions and 1 deletions
|
@ -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}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue