Skip to content

Commit d3ef58a

Browse files
Update error message with the reasoning for the error.
Explain reason why the object is invalid.
1 parent 934164b commit d3ef58a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/mmSolver/mayahelper/maya_attr.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,10 @@ MString Attr::getLongNodeName() {
668668
nodeName = dependFn.name();
669669
} else {
670670
nodeName = Attr::getNodeName();
671-
MMSOLVER_MAYA_ERR("Attr::getLongNodeName: Invalid object: "
672-
<< "\"" << nodeName.asChar() << "\"");
671+
MMSOLVER_MAYA_ERR(
672+
"Attr::getLongNodeName: Node is not DAG or DG node - invalid "
673+
"object: "
674+
<< "\"" << nodeName.asChar() << "\"");
673675
}
674676

675677
return nodeName;

0 commit comments

Comments
 (0)