Index: Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingCalculationService.cs
===================================================================
diff -u -r7f03cf30ae8d2351d8ddede137406d2bc25ef2ab -r6ce0630b9c2fc4df24fee43aaab256193c1ae96a
--- Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingCalculationService.cs (.../PipingCalculationService.cs) (revision 7f03cf30ae8d2351d8ddede137406d2bc25ef2ab)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingCalculationService.cs (.../PipingCalculationService.cs) (revision 6ce0630b9c2fc4df24fee43aaab256193c1ae96a)
@@ -87,6 +87,7 @@
/// The to base the input for the calculation upon.
/// The normative assessment level to use in case the manual assessment level is not applicable.
/// Thrown when is null.
+ /// Thrown when an unexpected error occurred during the calculation.
/// Consider calling first to see if calculation is possible.
public static void Calculate(PipingCalculation calculation, RoundedDouble normativeAssessmentLevel)
{
@@ -119,7 +120,9 @@
}
catch (PipingCalculatorException e)
{
- CalculationServiceHelper.LogExceptionAsError(Resources.Error_in_piping_calculation, e);
+ CalculationServiceHelper.LogExceptionAsError(RingtoetsCommonServiceResources.CalculationService_Calculate_unexpected_error, e);
+
+ throw;
}
finally
{