1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 10:22:31 +02:00

#101: avoid logging errors for all unset config items

This commit is contained in:
andreas
2025-03-04 20:48:12 +01:00
parent 437b76897a
commit a1b8f06959
+1
View File
@@ -801,6 +801,7 @@ void setup() {
MDNS.begin(config.getConfigItem(config.systemName)->asCString());
channels.begin(fallbackSerial);
logger.flush();
config.logConfig(GwLog::DEBUG);
webserver.registerMainHandler("/api/reset", [](AsyncWebServerRequest *request)->GwRequestMessage *{
return new ResetRequest(request->arg("_hash"));
});