Skip to content

Commit

Permalink
Raise verbosity of the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rojer committed Sep 9, 2021
1 parent 0358dba commit f578d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mgos_mqtt_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ static bool mgos_mqtt_time_ok(struct mgos_mqtt_conn *c) {
if (c->cfg == NULL) return false;
if (!c->cfg->require_time) return true;
if (mg_time() < 1500000000) {
LOG(LL_DEBUG, ("Time is not set, not connecting"));
LOG(LL_ERROR, ("Time is not set, not connecting"));
return false;
}
return true;
Expand Down

0 comments on commit f578d54

Please sign in to comment.