aboutsummaryrefslogtreecommitdiff
path: root/Emby.Photos
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2018-12-20 13:11:26 +0100
committerBond_009 <bond.009@outlook.com>2018-12-30 22:44:39 +0100
commitea4c914123ba8279b9d9fcf7d5318e11f7a3da4c (patch)
tree455bf175270ffd7c1cb8f4e4ea0fb41851f7c59e /Emby.Photos
parentbf01918659986cc6cbaefaebb67f607aeb1b4400 (diff)
Fix exception logging
Diffstat (limited to 'Emby.Photos')
-rw-r--r--Emby.Photos/PhotoProvider.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Photos/PhotoProvider.cs b/Emby.Photos/PhotoProvider.cs
index ace3b2afb..726fd1d79 100644
--- a/Emby.Photos/PhotoProvider.cs
+++ b/Emby.Photos/PhotoProvider.cs
@@ -170,9 +170,9 @@ namespace Emby.Photos
}
}
}
- catch (Exception e)
+ catch (Exception ex)
{
- _logger.LogError("Image Provider - Error reading image tag for {0}", e, item.Path);
+ _logger.LogError(ex, "Image Provider - Error reading image tag for {0}", item.Path);
}
}