Server
_ Print warnings when either `fromUser` or/and `toUser` lookups fail
This commit is contained in:
parent
dd90aa7a5e
commit
e54f7f2d8a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue