get rid of two debug messages
This commit is contained in:
parent
896941e4a8
commit
09bace3726
|
@ -178,7 +178,7 @@ bool DivConfig::loadFromFile(const char* path, bool createOnFail, bool redundanc
|
||||||
logD("config does not exist");
|
logD("config does not exist");
|
||||||
if (createOnFail) {
|
if (createOnFail) {
|
||||||
logI("creating default config.");
|
logI("creating default config.");
|
||||||
reportError(fmt::sprintf("Creating default config: %s",strerror(errno)));
|
//reportError(fmt::sprintf("Creating default config: %s",strerror(errno)));
|
||||||
return save(path,redundancy);
|
return save(path,redundancy);
|
||||||
} else {
|
} else {
|
||||||
reportError(fmt::sprintf("COULD NOT LOAD CONFIG %s",strerror(errno)));
|
reportError(fmt::sprintf("COULD NOT LOAD CONFIG %s",strerror(errno)));
|
||||||
|
@ -191,7 +191,7 @@ bool DivConfig::loadFromFile(const char* path, bool createOnFail, bool redundanc
|
||||||
logD("config does not exist");
|
logD("config does not exist");
|
||||||
if (createOnFail) {
|
if (createOnFail) {
|
||||||
logI("creating default config.");
|
logI("creating default config.");
|
||||||
reportError(fmt::sprintf("Creating default config: %s",strerror(errno)));
|
//reportError(fmt::sprintf("Creating default config: %s",strerror(errno)));
|
||||||
return save(path);
|
return save(path);
|
||||||
} else {
|
} else {
|
||||||
reportError(fmt::sprintf("COULD NOT LOAD CONFIG %s",strerror(errno)));
|
reportError(fmt::sprintf("COULD NOT LOAD CONFIG %s",strerror(errno)));
|
||||||
|
|
Loading…
Reference in a new issue