Skip to content

Commit

Permalink
Update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
AniruddhaKanhere committed Sep 29, 2022
1 parent 31e3632 commit d709fc1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/core_mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1695,6 +1695,11 @@ static MQTTStatus_t receiveSingleIteration( MQTTContext_t * pContext,
/* Reset the status. */
status = statusCopy;
}
else
{
LogError( ( "Handling of keep alive failed. Status=%s",
MQTT_Status_strerror( status ) ) );
}
}
}

Expand All @@ -1707,7 +1712,7 @@ static MQTTStatus_t receiveSingleIteration( MQTTContext_t * pContext,
/* Any other error code. */
else if( status != MQTTSuccess )
{
LogError( ( "Receiving incoming packet length failed. Status=%s",
LogError( ( "Call to receiveSingleIteration failed. Status=%s",
MQTT_Status_strerror( status ) ) );
}
/* If the MQTT Packet size is bigger than the buffer itself. */
Expand Down

0 comments on commit d709fc1

Please sign in to comment.