mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 11:54:00 +02:00
Added more info to error msg
This commit is contained in:
@@ -139,7 +139,7 @@ void FieldGroup::load(const XmlNode *groupNode){
|
||||
f->loadSpecific(fieldNode);
|
||||
|
||||
if(!f->isValueValid(f->getDefaultValue())){
|
||||
throw runtime_error("Default value not valid in field: " + f->getName());
|
||||
throw runtime_error("Default value not valid in field: " + f->getName() + " [" + f->getDefaultValue() + "]");
|
||||
}
|
||||
|
||||
fields[i]= f;
|
||||
|
Reference in New Issue
Block a user