Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 committed Dec 4, 2024
1 parent f807c48 commit 6991c1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/components/jomjol_flowcontroll/MainFlowControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,7 @@ esp_err_t handler_flow_start(httpd_req_t *req)
else
{
LogFile.WriteToFile(ESP_LOG_WARN, TAG, "Flow start triggered by REST API, but flow is not active!");
const char *resp_str = "WARNING: Flow start triggered by REST API, but flow is not active";
httpd_resp_send(req, resp_str, HTTPD_RESP_USE_STRLEN);
httpd_resp_send_err(req, HTTPD_403_FORBIDDEN, "Flow start triggered by REST API, but flow is not active");
}

#ifdef DEBUG_DETAIL_ON
Expand Down

0 comments on commit 6991c1e

Please sign in to comment.