mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Add more messages to the gitOTA
This commit is contained in:
parent
0710445b27
commit
7b08f6acb4
2 changed files with 2 additions and 1 deletions
|
|
@ -456,7 +456,7 @@ int8_t GitUpdater::downloadFile() {
|
||||||
}
|
}
|
||||||
free(buff);
|
free(buff);
|
||||||
if(len < total) {
|
if(len < total) {
|
||||||
Serial.println("Error downloading file");
|
Serial.println("Error downloading file!!!");
|
||||||
return -42;
|
return -42;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -470,6 +470,7 @@ int8_t GitUpdater::downloadFile() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Serial.printf("Invalid HTTP Code... %d", httpCode);
|
||||||
return httpCode;
|
return httpCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue