diff --git a/python/mmSolver/_api/attribute.py b/python/mmSolver/_api/attribute.py index 05fe0dd9..f3b57c19 100644 --- a/python/mmSolver/_api/attribute.py +++ b/python/mmSolver/_api/attribute.py @@ -92,7 +92,7 @@ def __init__(self, name=None, node=None, attr=None): if attr not in (attr_list_long + attr_list_short): msg = 'Attribute not found on node. node=%r attr=%r' LOG.error(msg, node, attr) - raise RuntimeError(msg) + raise RuntimeError(msg % (node, attr)) node_attr = node + '.' + attr plug = node_utils.get_as_plug_apione(node_attr)