Skip to content

Commit 0248b14

Browse files
Debug logs
1 parent 5bd785e commit 0248b14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/messageqcpp/messagequeue.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ const SBS MessageQueueClient::read(const struct timespec* timeout, bool* isTimeO
246246
{
247247
if (!fClientSock.isOpen())
248248
{
249+
idblog("socket is not open, addr " << addr2String());
249250
fClientSock.open();
250251

251252
try
@@ -254,6 +255,7 @@ const SBS MessageQueueClient::read(const struct timespec* timeout, bool* isTimeO
254255
}
255256
catch (...)
256257
{
258+
idblog("cannot connect");
257259
fClientSock.close();
258260
throw;
259261
}

0 commit comments

Comments
 (0)