aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Images/ImageService.cs
diff options
context:
space:
mode:
authorTechywarrior <techywarrior@gmail.com>2013-04-14 20:42:34 -0700
committerTechywarrior <techywarrior@gmail.com>2013-04-14 20:42:34 -0700
commit82ca771cb9981a549ef9f5a72161b823babdfb0d (patch)
tree5f016e0bd77d38220bd5e0817c6590945a51e71b /MediaBrowser.Api/Images/ImageService.cs
parent8c0718b5ee91fd21e74339cc7cb20332f6f08195 (diff)
parent6138a7540bc25d6c1173bcd0f9fd2826ab84462a (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
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