Fixed Warnings

This commit is contained in:
Matthias Heil
2026-04-05 08:00:09 +02:00
parent dfb879bfb3
commit 511a5f9f51
21 changed files with 104 additions and 115 deletions
@@ -164,7 +164,7 @@ public class RandomLoggingService : BackgroundService
}
_logger.Emit(GenerateEventId(), level, GetMessage(),
new Exception(_errorMessages[_random.Next(0, _errorMessages.Count)]));
new InvalidDataException(_errorMessages[_random.Next(0, _errorMessages.Count)]));
}
private EventId GenerateEventId()