Added more info to error msg

This commit is contained in:
Mark Vejvoda 2010-03-14 13:31:02 +00:00
parent b47ce48424
commit 2ab843e2a7
1 changed files with 1 additions and 1 deletions

View File

@ -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;