mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
include json error message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user