Skip to content
Snippets Groups Projects
Commit 6be82131 authored by Jens Georg's avatar Jens Georg Committed by Martin Christoph Hierholzer
Browse files

Print demangled types on connection error

parent 2f478668
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,10 @@ namespace ChimeraTK {
}
else {
if(*net.valueType != node.getValueType() && node.getValueType() != typeid(AnyType)) {
throw ChimeraTK::logic_error("Variable network " + proxy.getFullyQualifiedPath() +
" contains nodes with different types: " + net.valueType->name() + " != " + node.getValueType().name());
throw ChimeraTK::logic_error("Variable network " + proxy.getFullyQualifiedPath()
+ " contains nodes with different types: "
+ boost::core::demangle(net.valueType->name()) + " != "
+ boost::core::demangle(node.getValueType().name()));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment