]> git.mxchange.org Git - hub.git/commitdiff
Debug output for error code added
authorRoland Häder <roland@mxchange.org>
Sun, 17 Apr 2011 22:23:39 +0000 (22:23 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 17 Apr 2011 22:23:39 +0000 (22:23 +0000)
application/hub/main/handler/network/tcp/class_TcpNetworkPackageHandler.php

index 0a6d3cbab406bab5aa13d965127afa2baab2ccf3..701e44497504fa120825a2c4edf393afcf71f8f6 100644 (file)
@@ -135,6 +135,9 @@ class TcpNetworkPackageHandler extends BaseNetworkPackageHandler implements Netw
                        $this->setErrorCode(self::PACKAGE_LEVEL_CHECK_OKAY);
                }
 
+               // Debug output of error code
+               $this->debugOutput('errorCode=' . $this->getErrorCode());
+
                // Get a state from the resolver for this package
                $stateInstance = $this->getResolverInstance()->resolveStateByPackage($this, $packageData, $resource);
                die('UNFINISHED:'.$stateInstance->__toString()."\n");