mirror of https://github.com/eclipse/paho.mqtt.c
Add log output for failed message queueing in test due to disconnect
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
This commit is contained in:
parent
c48d920798
commit
0c651aa2c9
|
|
@ -247,6 +247,10 @@ int test373SendPublishMessage(MQTTAsync handle,int id)
|
|||
pendingMessageCnt++;
|
||||
if (pendingMessageCnt > pendingMessageCntMax) pendingMessageCntMax = pendingMessageCnt;
|
||||
}
|
||||
else
|
||||
{
|
||||
MyLog(LOGA_INFO, "Failed to queue message for send with retvalue %d",rc);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue