diff --git a/the-cup.ino b/the-cup.ino index 11a08d3..b9f23b6 100644 --- a/the-cup.ino +++ b/the-cup.ino @@ -74,7 +74,6 @@ void send_uid(char reader_uid[]) { else { //if you get here you have connected to the WiFi Serial.println("connected...yeey :)"); - displaySuccess(); } auto client = std::make_unique(); @@ -92,11 +91,12 @@ void send_uid(char reader_uid[]) { if (httpCode > 0) { if (httpCode == HTTP_CODE_CREATED) { - displaySuccess(); } else { + Serial.println("Remote error while sending uid"); displayError(); } } else { + Serial.print("Remote error while sending uid"); displayError(); }