From a36638ee6dcc9adc46e69ac665d4512084048377 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sun, 9 Nov 2025 12:04:56 +0000 Subject: [PATCH] Stop processing once an error is detected during bootloader upload --- wled00/ota_update.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wled00/ota_update.cpp b/wled00/ota_update.cpp index b92ee53c..60a83303 100644 --- a/wled00/ota_update.cpp +++ b/wled00/ota_update.cpp @@ -628,6 +628,10 @@ void handleBootloaderOTAData(AsyncWebServerRequest *request, size_t index, uint8 return; } + if (!context->errorMessage.isEmpty()) { + return; + } + // Buffer the incoming data if (context->buffer && context->bytesBuffered + len <= context->maxBootloaderSize) { memcpy(context->buffer + context->bytesBuffered, data, len);