mirror of
https://github.com/esphome/esphome.git
synced 2025-08-09 11:57:46 +00:00
cleanup
This commit is contained in:
parent
bcbf0f0e26
commit
af2f5b7348
@ -203,7 +203,6 @@ void OTARequestHandler::handleRequest(AsyncWebServerRequest *request) {
|
|||||||
// 2. The server is shutting down and can't process new requests
|
// 2. The server is shutting down and can't process new requests
|
||||||
// These warnings are harmless and expected during OTA reboot.
|
// These warnings are harmless and expected during OTA reboot.
|
||||||
if (this->ota_success_) {
|
if (this->ota_success_) {
|
||||||
ESP_LOGV(TAG, "Sending OTA success response before reboot");
|
|
||||||
request->send(200, "text/plain", "Update Successful!");
|
request->send(200, "text/plain", "Update Successful!");
|
||||||
} else {
|
} else {
|
||||||
request->send(200, "text/plain", "Update Failed!");
|
request->send(200, "text/plain", "Update Failed!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user