diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-06-15 10:35:47 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-15 10:35:47 +1000 |
| commit | e556de927015acd8d9934e68707a95901acfad8e (patch) | |
| tree | c04e9601a15cff5f1fe9980e8f2ff41bae351635 /Services/MediaService.cs | |
| parent | df4bfad33e1b3fc2ce35af8000380029ecb444cf (diff) | |
Diffstat (limited to 'Services/MediaService.cs')
| -rw-r--r-- | Services/MediaService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/MediaService.cs b/Services/MediaService.cs index e497570..2d1533c 100644 --- a/Services/MediaService.cs +++ b/Services/MediaService.cs @@ -304,7 +304,7 @@ public class MediaService : IMediaService { return System.IO.File.OpenRead(thumbPath); if(!File.Exists(GetPath(mediaId))) - throw new ObjectNotFoundException(mediaId); + throw new ObjectNotFoundException([ mediaId ]); using var image = new MagickImage(GetPath(mediaId)); @@ -329,7 +329,7 @@ public class MediaService : IMediaService { return System.IO.File.OpenRead(convertedPath); if(!File.Exists(GetPath(mediaId))) - throw new ObjectNotFoundException(mediaId); + throw new ObjectNotFoundException([ mediaId ]); using var image = new MagickImage(GetPath(mediaId)); image.Write(convertedPath, format); |
