In this line:
- "occurred" is misspelled (one "r" is missing)
- Consider using
_logger.LogError(ex, $"Error occurred...", ...) instead of _logger.LogError($"Exception {@Exception} occurred...", ex, ...)
As a sidenote, every exception is logged twice--once with the performance counters and once without, e.g.:
