Merge pull request #248 from tkawachi/duration-message

Suggest h when failed to parse duration
This commit is contained in:
Havoc Pennington 2015-02-03 00:18:27 -05:00
commit 10bb00cbf9

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 {