1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-08 14:22:21 +01:00

silence false positive

This commit is contained in:
J. Nick Koston
2025-09-05 10:42:39 -05:00
parent 6e24048a90
commit 6d70417cae

View File

@@ -1940,7 +1940,7 @@ void WebServer::handleRequest(AsyncWebServerRequest *request) {
// No matching handler found - send 404 // No matching handler found - send 404
ESP_LOGV(TAG, "Request for unknown URL: %s", url.c_str()); ESP_LOGV(TAG, "Request for unknown URL: %s", url.c_str());
request->send(404, CONTENT_TYPE_PLAIN, MSG_NOT_FOUND); request->send(404, CONTENT_TYPE_PLAIN, MSG_NOT_FOUND); // NOLINT(readability-suspicious-call-argument)
} }
bool WebServer::isRequestHandlerTrivial() const { return false; } bool WebServer::isRequestHandlerTrivial() const { return false; }