Warn about data loss on API communication

This commit is contained in:
Sebastian Muszynski 2024-08-20 08:13:08 +02:00
parent 1d91601094
commit d6ff6ed60c

View File

@ -1531,7 +1531,7 @@ bool APIConnection::send_buffer(ProtoWriteBuffer buffer, uint32_t message_type)
if (!this->helper_->can_write_without_blocking()) { if (!this->helper_->can_write_without_blocking()) {
// SubscribeLogsResponse // SubscribeLogsResponse
if (message_type != 29) { if (message_type != 29) {
ESP_LOGV(TAG, "Cannot send message because of TCP buffer space"); ESP_LOGW(TAG, "Unable to send message: TX buffer not empty. Message discarded");
} }
delay(0); delay(0);
return false; return false;