public function __construct (NodeHelper $nodeInstance, $code) {
// Construct the message
$message = sprintf("[%s] This hub is already announced. Please fix this.",
- $messageArray[0]->__toString()
+ $nodeInstance->__toString()
);
// Call parent exception constructor