From 4f2b1736ab9267001dc10b81c6f8a7d0c29827bc Mon Sep 17 00:00:00 2001 From: gnattu Date: Mon, 1 Jul 2024 22:44:47 +0800 Subject: [PATCH] Add user not found message Signed-off-by: gnattu --- Jellyfin.Server.Implementations/Devices/DeviceManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs index 25f5f4f6af..580358b2a8 100644 --- a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs +++ b/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