Minor changes in debug output, added information
to error messages
This commit is contained in:
@@ -27,7 +27,7 @@ double buildMass(json_t* object) {
|
||||
if (SpeciesAlias::isAlias(name)) {
|
||||
return SpeciesMasses::mass(SpeciesAlias::alias(name));
|
||||
} else {
|
||||
ERROR("This specie type is not known.");
|
||||
ERROR("The specie type " + name + " is not known.");
|
||||
return 0.;
|
||||
}
|
||||
} else if (json_object_by_path(object, {"value"})) {
|
||||
|
||||
Reference in New Issue
Block a user