From a8cdbc4fd693ac8aad1c3ce214f2b844dc1ce3a0 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 8 Jan 2025 20:16:59 +0100 Subject: [PATCH] tidy up directory listing --- src/core/system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 05064948d..3dde2406c 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -2041,13 +2041,13 @@ bool System::uploadFirmwareURL(const char * url) { HTTPClient http; http.setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS); // important for GitHub 302's http.setTimeout(8000); - http.useHTTP10(true); // use HTTP/1.0 for update since the update handler not support any transfer Encoding + http.useHTTP10(true); // use HTTP/1.0 for update since the update handler does not support any transfer Encoding http.begin(saved_url); // start a connection, returns -1 if fails int httpCode = http.GET(); if (httpCode != HTTP_CODE_OK) { - LOG_ERROR("Firmware upload failed - HTTP code %d", httpCode); + LOG_ERROR("Firmware upload failed. URL %s, HTTP code %d", saved_url.c_str(), httpCode); return false; // error }