Index: Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs =================================================================== diff -u -r874233bdb7814bef40b639e0fb4d26a0b86616a0 -r533cc8038f03f3acb30f4db787a3d583f93f7008 --- Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs (.../DesignWaterLevelCalculationService.cs) (revision 874233bdb7814bef40b639e0fb4d26a0b86616a0) +++ Ringtoets/Common/src/Ringtoets.Common.Service/DesignWaterLevelCalculationService.cs (.../DesignWaterLevelCalculationService.cs) (revision 533cc8038f03f3acb30f4db787a3d583f93f7008) @@ -97,13 +97,16 @@ { calculator.Calculate(CreateInput(hydraulicBoundaryLocation, norm, hydraulicBoundaryDatabaseFilePath)); - hydraulicBoundaryLocation.DesignWaterLevel = (RoundedDouble) calculator.DesignWaterLevel; - hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence = - RingtoetsCommonDataCalculationService.CalculationConverged(calculator.ReliabilityIndex, norm); - - if (hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence != CalculationConvergence.CalculatedConverged) + if (string.IsNullOrEmpty(calculator.LastErrorFileContent)) { - log.Warn(messageProvider.GetCalculatedNotConvergedMessage(hydraulicBoundaryLocation.Name)); + hydraulicBoundaryLocation.DesignWaterLevel = (RoundedDouble)calculator.DesignWaterLevel; + hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence = + RingtoetsCommonDataCalculationService.CalculationConverged(calculator.ReliabilityIndex, norm); + + if (hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence != CalculationConvergence.CalculatedConverged) + { + log.Warn(messageProvider.GetCalculatedNotConvergedMessage(hydraulicBoundaryLocation.Name)); + } } } catch (HydraRingFileParserException)