add some logs

This commit is contained in:
GenZmeY 2022-08-24 19:26:18 +03:00
parent 52507a24fd
commit 029b6fa144

View File

@ -243,14 +243,20 @@ public function NotifyLogin(Controller C)
{ {
`Log_Trace(); `Log_Trace();
CreateRepInfo(C); if (!CreateRepInfo(C))
{
`Log_Error("Can't create RepInfo for:" @ C);
}
} }
public function NotifyLogout(Controller C) public function NotifyLogout(Controller C)
{ {
`Log_Trace(); `Log_Trace();
DestroyRepInfo(C); if (!DestroyRepInfo(C))
{
`Log_Error("Can't destroy RepInfo of:" @ C);
}
} }
public function bool CreateRepInfo(Controller C) public function bool CreateRepInfo(Controller C)