mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add user not found message
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
c05049e54e
commit
4f2b1736ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user