summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/parser/stack/DocumentHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/parser/stack/DocumentHandler.cpp b/src/core/parser/stack/DocumentHandler.cpp
index 04f79fb..8d2088f 100644
--- a/src/core/parser/stack/DocumentHandler.cpp
+++ b/src/core/parser/stack/DocumentHandler.cpp
@@ -790,7 +790,9 @@ bool DocumentChildHandler::data()
// this fact
Variant text = readData();
if (defaultFields.empty()) {
- logger().error("Got data, but structure \"" + name() +
+ logger().error("Got data, but field \"" +
+ field->getNameOrDefaultName() +
+ "\" of structure \"" + name() +
"\" does not have any primitive field",
text);
} else {