Skip to content

A typo and a possible misuse of complex type destructuring #198

Description

@tymarats

In this line:

  1. "occurred" is misspelled (one "r" is missing)
  2. 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.:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions