Null-check remote configuration in config manager
This field can be null if the config service do not find absolutely anything in config table for the user. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -155,7 +155,7 @@ public class ConfigManager
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (configuration.getConfig().isEmpty())
|
if (configuration.getConfig() == null || configuration.getConfig().isEmpty())
|
||||||
{
|
{
|
||||||
log.debug("No configuration from client, using saved configuration on disk");
|
log.debug("No configuration from client, using saved configuration on disk");
|
||||||
loadFromFile();
|
loadFromFile();
|
||||||
|
|||||||
Reference in New Issue
Block a user