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);