We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a850760 commit 3239ee2Copy full SHA for 3239ee2
libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp
@@ -143,6 +143,10 @@ bool updateEspHostedSlave() {
143
// Step 15: Clean up allocated buffer
144
free(buff);
145
Serial.println();
146
+ } else if (httpCode == HTTP_CODE_NOT_FOUND) {
147
+ Serial.println("ERROR: Update file not found!");
148
+ } else {
149
+ Serial.printf("ERROR: HTTP request failed with code %d!", httpCode);
150
}
151
152
// Step 16: Close HTTP connection
0 commit comments