From 77592d0a1c62d4b47a0dfca8ab0c5b1c8894e97f Mon Sep 17 00:00:00 2001
From: Bit Borealis <theotheroracle@disroot.org>
Date: Sat, 19 Aug 2023 04:59:58 +0000
Subject: [PATCH] added better debugging to fix text import issue

---
 js/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/main.js b/js/main.js
index 4dfd4a4..65517ff 100644
--- a/js/main.js
+++ b/js/main.js
@@ -332,7 +332,7 @@ function loadTxt2Array(lines) {
 					break;
 
 				default:
-					throw "Error invalid text QR caracters"
+					throw `Error invalid text QR caracters: ${lines[i][j]}`
 			}
 		}
     }