mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 23:01:05 +08:00
Merge pull request #248 from tkawachi/duration-message
Suggest h when failed to parse duration
This commit is contained in:
commit
10bb00cbf9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user