浏览代码

Added logging for failed re-logging in.

Kenric Nugteren 1 年之前
父节点
当前提交
e2df952fb0
共有 1 个文件被更改,包括 4 次插入0 次删除
  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)