From 2ab843e2a7bb18bdd324a77f52fd5bf0046d1f8d Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 14 Mar 2010 13:31:02 +0000 Subject: [PATCH] Added more info to error msg --- source/configurator/configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/configurator/configuration.cpp b/source/configurator/configuration.cpp index 8cbe5285e..6f7eb860b 100644 --- a/source/configurator/configuration.cpp +++ b/source/configurator/configuration.cpp @@ -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;