aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
authortikuf <admin@nyalindee.com>2014-04-16 10:14:20 +1000
committertikuf <admin@nyalindee.com>2014-04-16 10:14:20 +1000
commit13196544c2ca525068e34d23bd98da551943bbca (patch)
treead9894c55a3f3078c15b7622f424b950524b4e2b /MediaBrowser.Server.Implementations/Dto/DtoService.cs
parentf9eede391b2de2ce80e75d8345aade14f70f1b9d (diff)
parentab5f8ed13679dbe1763cafc599a8f566a36a4a14 (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
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;