diff --git a/src/NuGet.Jobs.RegistrationComparer/HiveComparer.cs b/src/NuGet.Jobs.RegistrationComparer/HiveComparer.cs index eeeafa88e..acb027aed 100644 --- a/src/NuGet.Jobs.RegistrationComparer/HiveComparer.cs +++ b/src/NuGet.Jobs.RegistrationComparer/HiveComparer.cs @@ -159,7 +159,7 @@ await ParallelAsync.Repeat( } catch (InvalidOperationException ex) { - _logger.LogWarning(ex.Message); + _logger.LogWarning(ex, "A comparison warning was found."); continue; }