Skip to content

Commit 7ebc044

Browse files
committed
ArduinoIoTCloudTCP: Add debug print on time sync failures
1 parent dd4c09d commit 7ebc044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/ArduinoIoTCloudTCP.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SyncTime()
273273
return State::ConnectMqttBroker;
274274
}
275275

276+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not get valid time. Retrying now.", __FUNCTION__);
276277
return State::ConnectPhy;
277278
}
278279

0 commit comments

Comments
 (0)