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:
@@ -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; }
|
||||||
|
Reference in New Issue
Block a user