[core] node: more explicit log

This commit is contained in:
Fabien Castan 2024-06-14 00:21:34 +02:00
parent 379e674967
commit 1dd1fdf0c5

View file

@ -1639,7 +1639,7 @@ class CompatibilityNode(BaseNode):
try:
upgradedAttrValues = node.nodeDesc.upgradeAttributeValues(attrValues, self.version)
except Exception as e:
logging.error("Error in the upgrade implementation of the node: {}.\n{}".format(self.name, str(e)))
logging.error("Error in the upgrade implementation of the node: {}.\n{}".format(self.name, repr(e)))
upgradedAttrValues = attrValues
if not isinstance(upgradedAttrValues, dict):