mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
include json error message
This commit is contained in:
@@ -1191,7 +1191,7 @@ bool MyESP::_fs_loadConfig() {
|
|||||||
// Deserialize the JSON document
|
// Deserialize the JSON document
|
||||||
DeserializationError error = deserializeJson(doc, configFile);
|
DeserializationError error = deserializeJson(doc, configFile);
|
||||||
if (error) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#ifndef MyEMS_h
|
#ifndef MyEMS_h
|
||||||
#define MyEMS_h
|
#define MyEMS_h
|
||||||
|
|
||||||
#define MYESP_VERSION "1.1.7"
|
#define MYESP_VERSION "1.1.8"
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <ArduinoOTA.h>
|
#include <ArduinoOTA.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user