mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-10-31 10:37:22 -04:00 
			
		
		
		
	Use ArgumentException
This commit is contained in:
		
							parent
							
								
									a8a9f66878
								
							
						
					
					
						commit
						c47bfb99bb
					
				| @ -431,7 +431,7 @@ public class SkiaEncoder : IImageEncoder | ||||
|         if (outputFormat == ImageFormat.Svg | ||||
|             && !inputFormat.Equals(SvgFormat, StringComparison.OrdinalIgnoreCase)) | ||||
|         { | ||||
|             throw new InvalidOperationException($"Requested svg output from {inputFormat} input"); | ||||
|             throw new ArgumentException($"Requested svg output from {inputFormat} input"); | ||||
|         } | ||||
| 
 | ||||
|         var skiaOutputFormat = GetImageFormat(outputFormat); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user