Amend error code

This commit is contained in:
jpirnay
2026-05-08 23:37:03 +02:00
parent 432b47b2ee
commit 9cd732bfd8
+1 -1
View File
@@ -207,7 +207,7 @@ OtaUpdater::OtaUpdaterError OtaUpdater::checkForUpdate() {
const JsonVariantConst release = selectRelease(doc);
if (release.isNull()) {
LOG_ERR("OTA", "No release found in response");
return JSON_PARSE_ERROR;
return NO_UPDATE;
}
if (!release["tag_name"].is<std::string>()) {