diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-11-08 12:39:02 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-11-08 12:40:52 -0700 |
| commit | 64652b639299ecd9a692f89a7bbda3f827129fa3 (patch) | |
| tree | 7d3cfe217f61c238406383e48e5cad47c4f4d95d /Jellyfin.Api/Helpers/ClassMigrationHelper.cs | |
| parent | 40045d21470ce0eb15e5c9700d6a1449dbf7c36e (diff) | |
Fix and disable new dotnet6 warnings
Diffstat (limited to 'Jellyfin.Api/Helpers/ClassMigrationHelper.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/ClassMigrationHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/ClassMigrationHelper.cs b/Jellyfin.Api/Helpers/ClassMigrationHelper.cs index a911a3324..76fb27bcc 100644 --- a/Jellyfin.Api/Helpers/ClassMigrationHelper.cs +++ b/Jellyfin.Api/Helpers/ClassMigrationHelper.cs @@ -19,7 +19,7 @@ namespace Jellyfin.Api.Helpers // If any this null throw an exception. if (source == null || destination == null) { - throw new Exception("Source or/and Destination Objects are null"); + throw new ArgumentException("Source or/and Destination Objects are null"); } // Getting the Types of the objects. |
