Skip to content

Commit

Permalink
Merge pull request #473 from pennam/time-sync-fail
Browse files Browse the repository at this point in the history
ArduinoIoTCloudTCP: Add debug print on time sync failures
  • Loading branch information
pennam authored Jun 4, 2024
2 parents b56e3bf + 7ebc044 commit 00a6466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ArduinoIoTCloudTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SyncTime()
return State::ConnectMqttBroker;
}

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

Expand Down

0 comments on commit 00a6466

Please sign in to comment.