提交 e0dc6f94 编写于 作者: M Maksim Kita

Dictionary better error message during attribute parsing

上级 2892aa39
...@@ -344,7 +344,9 @@ std::vector<DictionaryAttribute> DictionaryStructure::getAttributes( ...@@ -344,7 +344,9 @@ std::vector<DictionaryAttribute> DictionaryStructure::getAttributes(
} }
catch (Exception & e) catch (Exception & e)
{ {
e.addMessage("error parsing null_value"); String dictionary_name = config.getString(".dictionary.name", "");
e.addMessage("While parsing null_value for attribute with name " + name
+ " in dictionary " + dictionary_name);
throw; throw;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册