Better initialization error message

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-12-31 20:29:07 -05:00
parent a964158ea2
commit be0e9aafbb

View File

@@ -440,7 +440,7 @@ void REFPROPMixtureBackend::set_REFPROP_fluids(const std::vector<std::string> &f
}
else
{
throw ValueError(format("Could not load these fluids: %s", components_joined_raw.c_str()));
throw ValueError(format("Could not load these fluids: %s; error: %s", components_joined_raw.c_str(), herr));
}
}
}