Hi
In the EventLogging class, the exist this kind of code
Debug.Fail("Unable to log event, exception: {0}", e.Message);
However, this will always show/print the message 'Unable to log event, exception: {0}', as nothing is inserter into the placeholder.
The code could be updated to something like this:
Debug.Fail($"Unable to log event, exception: {e.Message}", e.ToString());
or
Debug.Fail($"Unable to log event, exception: {e.Message}");
Jacob Mogensen
mysupply