From 85832ae0bc5f1c4aeca7ec40cfa341b72de59f27 Mon Sep 17 00:00:00 2001 From: sigurdp Date: Thu, 30 Nov 2017 10:47:02 +0100 Subject: [PATCH] PVT Plot: Added warning message if PVT plotting could not be initialized --- .../ReservoirDataModel/RigFlowDiagSolverInterface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/ReservoirDataModel/RigFlowDiagSolverInterface.cpp b/ApplicationCode/ReservoirDataModel/RigFlowDiagSolverInterface.cpp index 0885a12f94..16a7352580 100644 --- a/ApplicationCode/ReservoirDataModel/RigFlowDiagSolverInterface.cpp +++ b/ApplicationCode/ReservoirDataModel/RigFlowDiagSolverInterface.cpp @@ -18,6 +18,8 @@ #include "RigFlowDiagSolverInterface.h" +#include "RiaLogging.h" + #include "RifEclipseOutputFileTools.h" #include "RifReaderInterface.h" @@ -135,7 +137,7 @@ public: } catch (...) { - cvf::Trace::show("Exception trying to construct ECLPvtCurveCollection instance"); + RiaLogging::warning("Unsupported PVT table format. Could not initialize PVT plotting functionality."); } }