_ Print warnings when either `fromUser` or/and `toUser` lookups fail
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-22 21:50:29 +02:00
parent dd90aa7a5e
commit e54f7f2d8a
1 changed files with 2 additions and 0 deletions

View File

@ -246,11 +246,13 @@ public class Server : MessageDeliveryTransport
if(fromUser == null)
{
// TODO: Handle this
logger.warn("Could not find fromUser (User* was null)");
}
if(toUser == null)
{
// TODO: Handle this
logger.warn("Could not find toUser (User* was null)");
}
return true;