summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 8b11e33..d21b633 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -170,13 +170,13 @@ Interpreter Interpreter::fromURL(const std::string& url) {
}
catch (const XERCESC_NS::SAXParseException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
} catch (const XERCESC_NS::RuntimeException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
} catch (const XERCESC_NS::XMLException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
} catch (const XERCESC_NS::DOMException& toCatch) {
- LOGD(USCXML_ERROR) << X(toCatch.getMessage());
+ LOGD(USCXML_ERROR) << X(toCatch.getMessage()) << std::endl;
}
return interpreter;
@@ -258,7 +258,7 @@ std::list<InterpreterIssue> Interpreter::validate() {
static void printNodeSet(Logger& logger, const std::list<XERCESC_NS::DOMElement*> nodes) {
std::string seperator;
for (auto nIter = nodes.begin(); nIter != nodes.end(); nIter++) {
- LOG(logger, USCXML_VERBATIM) << seperator << (HAS_ATTR(*nIter, kXMLCharId) ? ATTR(*nIter, kXMLCharId) : DOMUtils::xPathForNode(*nIter));
+ LOG(logger, USCXML_VERBATIM) << seperator << (HAS_ATTR(*nIter, kXMLCharId) ? ATTR(*nIter, kXMLCharId) : DOMUtils::xPathForNode(*nIter)) << std::endl;
seperator = ", ";
}
}