aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Images/ImageService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-04-14 16:47:09 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-04-14 16:47:09 -0400
commit95b1bfb0de05ccd53da77fce499e4f208d3a9fa3 (patch)
treebf0f03bfc50feb947d6d738a5753787bf56f3c5e /MediaBrowser.Api/Images/ImageService.cs
parentbc833492f0c27fbd106b170984f80ac133341396 (diff)
fixed people images being occasionally incorrect
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