There are still locations in the code where exceptions are being logged using
_logger.LogError(String, Exception);
This invokes the LogError(this ILogger logger, string message, params object[] args) overload, which discards the exception unless the string somehow has formatting for an Exception object.
Issue description
There are still locations in the code where exceptions are being logged using
_logger.LogError(String, Exception);
This invokes the
LogError(this ILogger logger, string message, params object[] args)
overload, which discards the exception unless the string somehow has formatting for an Exception object.Steps to reproduce the issue
What's the expected result?
-
What's the actual result?
-
Additional details / screenshot
Related Tickets