Index: Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs =================================================================== diff -u -r797860a90e2e806327a86f77e20a368eaf25d6ed -re6e0f3a201a644070997b531763b63f19d44df0e --- Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision 797860a90e2e806327a86f77e20a368eaf25d6ed) +++ Ringtoets/Common/src/Ringtoets.Common.Service/WaveHeightCalculationService.cs (.../WaveHeightCalculationService.cs) (revision e6e0f3a201a644070997b531763b63f19d44df0e) @@ -122,9 +122,9 @@ if (!canceled) { string lastErrorContent = calculator.LastErrorFileContent; - log.Error(!string.IsNullOrEmpty(lastErrorContent) - ? messageProvider.GetCalculationFailedMessage(waveHeightCalculation.Name, lastErrorContent) - : messageProvider.GetCalculationFailedMessage(waveHeightCalculation.Name, e.Message), + log.Error(string.IsNullOrEmpty(lastErrorContent) + ? messageProvider.GetCalculationFailedMessage(waveHeightCalculation.Name, e.Message) + : messageProvider.GetCalculationFailedMessage(waveHeightCalculation.Name, lastErrorContent), e); exceptionThrown = true; @@ -220,7 +220,7 @@ } catch (IllustrationPointConversionException e) { - log.Warn("Het uitlezen van illustratiepunten is mislukt.", e); + log.Warn(Resources.SetIllustrationPointsResult_Converting_IllustrationPointResult_Failed, e); } } }