Fix exception logging

This commit is contained in:
Bond_009
2018-12-20 13:11:26 +01:00
parent bf01918659
commit ea4c914123
123 changed files with 565 additions and 607 deletions

View File

@@ -103,7 +103,7 @@ namespace Emby.Drawing.ImageMagick
}
catch
{
//_logger.LogError("Error loading webp: ", ex);
//_logger.LogError(ex, "Error loading webp: ");
_webpAvailable = false;
}
}
@@ -295,7 +295,7 @@ namespace Emby.Drawing.ImageMagick
}
catch (Exception ex)
{
_logger.LogError("Error drawing indicator overlay", ex);
_logger.LogError(ex, "Error drawing indicator overlay");
}
}