Browse Source

Add user not found message

Signed-off-by: gnattu <gnattuoc@me.com>
gnattu 11 months ago
parent
commit
4f2b1736ab
1 changed files with 1 additions and 1 deletions
  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