include json error message

This commit is contained in:
proddy
2019-05-01 08:31:43 +02:00
parent fac660bb98
commit e684a95748
2 changed files with 2 additions and 2 deletions

View File

@@ -1191,7 +1191,7 @@ bool MyESP::_fs_loadConfig() {
// Deserialize the JSON document
DeserializationError error = deserializeJson(doc, configFile);
if (error) {
myDebug_P(PSTR("[FS] Failed to read config file"));
myDebug_P(PSTR("[FS] Failed to read config file. Error %s"), error.c_str());
return false;
}