Added more info to error msg
This commit is contained in:
parent
b47ce48424
commit
2ab843e2a7
|
@ -139,7 +139,7 @@ void FieldGroup::load(const XmlNode *groupNode){
|
||||||
f->loadSpecific(fieldNode);
|
f->loadSpecific(fieldNode);
|
||||||
|
|
||||||
if(!f->isValueValid(f->getDefaultValue())){
|
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;
|
fields[i]= f;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user