Commit f7bef8b0 by Maarten L. Hekkelman

update dictionary

do not throw from Category::isValid()
parent 9da8608f
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2119,8 +2119,16 @@ bool Category::isValid() ...@@ -2119,8 +2119,16 @@ bool Category::isValid()
if (vi->mColumnIndex == cix) if (vi->mColumnIndex == cix)
{ {
seen = true; seen = true;
try
{
(*iv)(vi->mText); (*iv)(vi->mText);
} }
catch(const std::exception& e)
{
mValidator->reportError("Error validating " + mColumns[cix].mName + ": " + e.what(), false);
continue;
}
}
} }
if (seen or ri != mHead) if (seen or ri != mHead)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment