Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ bool updateEspHostedSlave() {
// Step 15: Clean up allocated buffer
free(buff);
Serial.println();
} else if (httpCode == HTTP_CODE_NOT_FOUND) {
Serial.println("ERROR: Update file not found!");
} else {
Serial.printf("ERROR: HTTP request failed with code %d!", httpCode);
}

// Step 16: Close HTTP connection
Expand Down
Loading