소스 검색

Add user not found message

Signed-off-by: gnattu <gnattuoc@me.com>
gnattu 11 달 전
부모
커밋
4f2b1736ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Jellyfin.Server.Implementations/Devices/DeviceManager.cs

+ 1 - 1
Jellyfin.Server.Implementations/Devices/DeviceManager.cs

@@ -241,7 +241,7 @@ namespace Jellyfin.Server.Implementations.Devices
             var user = _userManager.GetUserById(authInfo.UserId);
             if (user is null)
             {
-                throw new ResourceNotFoundException();
+                throw new ResourceNotFoundException("User with UserId " + authInfo.UserId + " not found");
             }
 
             return new DeviceInfo