diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2021-08-31 10:57:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-31 10:57:48 -0400 |
| commit | cb52ccc6990169d80e0653c7f1bf76b6dc6fd2d6 (patch) | |
| tree | 02d55311025fb39518ffa01b87d4bee7aac15735 /Jellyfin.Server.Implementations | |
| parent | 8a1e55251e23681e19bef318540f8be5d750be2d (diff) | |
Update Jellyfin.Server.Implementations/Devices/DeviceManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/Devices/DeviceManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs index 3d1bc30e8..0655c9813 100644 --- a/Jellyfin.Server.Implementations/Devices/DeviceManager.cs +++ b/Jellyfin.Server.Implementations/Devices/DeviceManager.cs @@ -206,7 +206,7 @@ namespace Jellyfin.Server.Implementations.Devices { if (user == null) { - throw new ArgumentException("user not found"); + throw new ArgumentNullException(nameof(user)); } if (string.IsNullOrEmpty(deviceId)) |
