Merge pull request #4234 from deathbeam/fail-less-on-config-corrupt
Do not explode on illegal unicode char in settings
This commit is contained in:
@@ -185,7 +185,7 @@ public class ConfigManager
|
|||||||
{
|
{
|
||||||
log.debug("Unable to load settings - no such file");
|
log.debug("Unable to load settings - no such file");
|
||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IllegalArgumentException | IOException ex)
|
||||||
{
|
{
|
||||||
log.warn("Unable to load settings", ex);
|
log.warn("Unable to load settings", ex);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user