From 5fcbfde40e37fab4790053f2af2c194193dcc57e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 27 Jan 2017 16:04:05 -0500 Subject: [PATCH] Make error message from newSpeciesThermoInterpType more informative --- src/thermo/SpeciesThermoFactory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thermo/SpeciesThermoFactory.cpp b/src/thermo/SpeciesThermoFactory.cpp index 207512a3c..cfa6dda7f 100644 --- a/src/thermo/SpeciesThermoFactory.cpp +++ b/src/thermo/SpeciesThermoFactory.cpp @@ -397,7 +397,8 @@ SpeciesThermoInterpType* newSpeciesThermoInterpType(const XML_Node& thermo) for (size_t i = 1; i < tp.size(); i++) { if (!ba::iequals(tp[i]->name(), thermoType)) { throw CanteraError("newSpeciesThermoInterpType", - "Encountered unsupported mixed species thermo parameterizations"); + "Encountered unsupported mixed species thermo " + "parameterizations, '{}' and '{}'", tp[i]->name(), thermoType); } } if ((tp.size() > 2 && thermoType != "nasa9") ||