Re-add guard if a line item isn't parsed as expected in TokenRepository

This commit is contained in:
Muz Ali 2026-01-25 15:00:17 -06:00
parent 9b4b6b3355
commit 2f66f9634c

View file

@ -200,6 +200,12 @@ public enum TokenRepository {
}
}
// type - unknown
if (tokenType == null) {
errorsList.add("Tokens database: unknown line format: " + line);
continue;
}
// OK
TokenInfo token = new TokenInfo(tokenType, tokenName, setCode, imageNumber, tokenClassName);
list.add(token);