mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Better initialization error message
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user