aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto/DtoService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index daa107e3e..b625c2d51 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -360,7 +360,7 @@ namespace MediaBrowser.Server.Implementations.Dto
{
return _imageProcessor.GetImageCacheTag(item, type);
}
- catch (IOException ex)
+ catch (Exception ex)
{
_logger.ErrorException("Error getting {0} image info", ex, type);
return null;
@@ -373,7 +373,7 @@ namespace MediaBrowser.Server.Implementations.Dto
{
return _imageProcessor.GetImageCacheTag(item, image);
}
- catch (IOException ex)
+ catch (Exception ex)
{
_logger.ErrorException("Error getting {0} image info for {1}", ex, image.Type, image.Path);
return null;