more detailed error message

This commit is contained in:
Andrey 2024-08-04 14:57:15 -04:00
parent a5bff25cc1
commit 20dc0994d8
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ public class ConfigFieldImpl implements ConfigField {
double accuracy = Math.abs((factor2 / factor) - 1.); double accuracy = Math.abs((factor2 / factor) - 1.);
if (accuracy > 0.0000001) { if (accuracy > 0.0000001) {
// Don't want to deal with exception propogation; this should adequately not compile // Don't want to deal with exception propogation; this should adequately not compile
throw new IllegalStateException("$*@#$* Cannot accurately represent autoscale for " + tokens[1]); throw new IllegalStateException("$*@#$* Cannot accurately represent autoscale for [" + tokens[1] + "] got " + accuracy);
} }
return new Pair<>(mul, div); return new Pair<>(mul, div);