- Print out the found `User*` (tostring it) when found in `onOutgoing(Message latest, Queue from)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-23 09:26:50 +02:00
parent 1d8c0044a8
commit 9e137e4301
1 changed files with 8 additions and 0 deletions

View File

@ -248,12 +248,20 @@ public class Server : MessageDeliveryTransport
// TODO: Handle this
logger.warn("Could not find fromUser (User* was null)");
}
else
{
logger.dbg("Found fromUser (User*)", fromUser.toString());
}
if(toUser == null)
{
// TODO: Handle this
logger.warn("Could not find toUser (User* was null)");
}
else
{
logger.dbg("Found toUser (User*)", toUser.toString());
}
return true;
}