mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
fix bad error handling (related to #13132)
This commit is contained in:
parent
9164509b51
commit
07427c1df6
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ public final class TextboxRuleParser {
|
|||
index += 5;
|
||||
++outputIndex;
|
||||
} else {
|
||||
LOGGER.error("Bad &...; sequence `" + rule.substring(index + 1, index + 10) + "` in rule.");
|
||||
LOGGER.error("Bad &...; sequence `" + rule.substring(index, Math.max(rule.length(), index + 10)) + "` in rule.");
|
||||
build.append('&');
|
||||
++index;
|
||||
++outputIndex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue