aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Images/ImageService.cs
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-04-15 08:09:49 -0400
committerEric Reed <ebr@mediabrowser3.com>2013-04-15 08:09:49 -0400
commitae307f1c7d6e31d9813db3858dc912aff5b201d0 (patch)
treefb70aaa859fb965fd8d03beb80aa6a6b6e256693 /MediaBrowser.Api/Images/ImageService.cs
parent8e0722085d55b96ffc9aad330f63d1869835478c (diff)
parenta4cac9c95df1f169fd3457d25466f6896e12cd3f (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Conflicts: MediaBrowser.Installer/MainWindow.xaml.cs
Diffstat (limited to 'MediaBrowser.Api/Images/ImageService.cs')
-rw-r--r--MediaBrowser.Api/Images/ImageService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Images/ImageService.cs b/MediaBrowser.Api/Images/ImageService.cs
index 07bbaff74..1f69183cc 100644
--- a/MediaBrowser.Api/Images/ImageService.cs
+++ b/MediaBrowser.Api/Images/ImageService.cs
@@ -293,7 +293,7 @@ namespace MediaBrowser.Api.Images
if (string.IsNullOrEmpty(imagePath))
{
- throw new ResourceNotFoundException();
+ throw new ResourceNotFoundException(string.Format("{0} does not have an image of type {1}", item.Name, request.Type));
}
// See if we can avoid a file system lookup by looking for the file in ResolveArgs