Suggest h when failed to parse duration

This commit is contained in:
KAWACHI Takashi 2015-02-03 13:50:34 +09:00
parent ce394080a1
commit 83ceb90a89

View File

@ -533,7 +533,7 @@ final class SimpleConfig implements Config, MergeableValue, Serializable {
throw new ConfigException.BadValue(originForException,
pathForException, "Could not parse time unit '"
+ originalUnitString
+ "' (try ns, us, ms, s, m, d)");
+ "' (try ns, us, ms, s, m, h, d)");
}
try {