mirror of
https://github.com/lightbend/config.git
synced 2025-03-22 15:20:26 +08:00
if we get UnsupportedEncodingException include it as cause in the ConfigException
"Least likely thing to matter, ever"
This commit is contained in:
parent
466a096398
commit
0d4feca770
@ -36,7 +36,7 @@ final class Parser {
|
|||||||
includer);
|
includer);
|
||||||
} catch (UnsupportedEncodingException e) {
|
} catch (UnsupportedEncodingException e) {
|
||||||
throw new ConfigException.BugOrBroken(
|
throw new ConfigException.BugOrBroken(
|
||||||
"Java runtime does not support UTF-8");
|
"Java runtime does not support UTF-8", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user