Browse Source

Added logging for failed re-logging in.

Kenric Nugteren 1 năm trước cách đây
mục cha
commit
e2df952fb0
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      InABox.Server/RPC/Handlers/Validate.cs

+ 4 - 0
InABox.Server/RPC/Handlers/Validate.cs

@@ -28,6 +28,10 @@ namespace InABox.Rpc
                     CredentialsCache.RefreshSessionExpiry(parameters.SessionID);
                     reLogin = true;
                 }
+                else
+                {
+                    Logger.Send(LogType.Information, "", $"{parameters.SessionID} re-logging failed!");
+                }
             }
 
             if (user is null)