Amend error code
This commit is contained in:
1 parent
432b47b2ee
commit
9cd732bfd8
1 file changed
+1
-1
@@ -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>()) {
|
||||
|
||||
Reference in new issue
Block a user