diff --git a/WebSocketManager.h b/WebSocketManager.h index 5acfe81..124fc6e 100644 --- a/WebSocketManager.h +++ b/WebSocketManager.h @@ -24,6 +24,8 @@ public: snprintf(buffer, sizeof(buffer), format, args...); // Use snprintf to format the string webSocket.sendTXT(buffer); Serial.print("[WebSocket] Sent: "); + }else{ + Serial.print("[WebSocket] Dropped: "); } }