]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/states/peer/class_PeerStateFactory.php
More debugging
[hub.git] / application / hub / main / factories / states / peer / class_PeerStateFactory.php
index 34951fc65abd5911c85dba872063d369c988a382..847bfdef4358a8e8ddb339af35ad3a1eb97c4f01 100644 (file)
@@ -124,7 +124,7 @@ class PeerStateFactory extends ObjectFactory {
                $stateInstance = self::createObjectByConfiguredName($className, array($helperInstance));
 
                // Debug message
-               $stateInstance->debugOutput('PEER-STATE[' . __LINE__ . ']: Has changed from ' . $helperInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
+               $stateInstance->debugOutput('PEER-STATE[' . __LINE__ . ']: Has changed from ' . $helperInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . ' (' . $stateInstance->__toString() . ').');
 
                // Once we have that state, set it in the peer instance
                $helperInstance->setStateInstance($stateInstance);