diff options
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); |
