Commit f9e0bb95 authored by Volker Krause's avatar Volker Krause

Report extractor XML parsing errors

parent 603182fc
......@@ -66,6 +66,10 @@ bool Extractor::load(const QString &fileName)
m_rules.push_back(rule);
}
}
if (reader.hasError()) {
qCWarning(SEMANTIC_LOG) << "Loading error:" << fileName << reader.errorString();
return false;
}
qCDebug(SEMANTIC_LOG) << fileName << "loaded!";
return true;
......
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