diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-12-12 15:19:14 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-12-12 15:19:14 (GMT) |
commit | 047a35fc691a348008cbfbf4c3d7722a6ec4f93e (patch) | |
tree | 362a55496c4185b0be5966073d43d00e1b0e27de /src/uscxml/util/DOM.cpp | |
parent | dcac58f473789dd07e9094e61f819aef2fbc4b4a (diff) | |
download | uscxml-047a35fc691a348008cbfbf4c3d7722a6ec4f93e.zip uscxml-047a35fc691a348008cbfbf4c3d7722a6ec4f93e.tar.gz uscxml-047a35fc691a348008cbfbf4c3d7722a6ec4f93e.tar.bz2 |
Custom logging for interpreters
Diffstat (limited to 'src/uscxml/util/DOM.cpp')
-rw-r--r-- | src/uscxml/util/DOM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/util/DOM.cpp b/src/uscxml/util/DOM.cpp index 9540d04..bc628b7 100644 --- a/src/uscxml/util/DOM.cpp +++ b/src/uscxml/util/DOM.cpp @@ -146,7 +146,7 @@ std::string DOMUtils::xPathForNode(const DOMNode* node, const std::string& ns) { case DOMNode::DOCUMENT_NODE: return xPath; default: - LOG(USCXML_ERROR) << "Only nodes of type element supported for now"; + throw ErrorEvent("Only nodes of type element supported for now"); return ""; break; } |