]> git.mxchange.org Git - hub.git/commitdiff
These calls all indicate that some pre-checks didn't work and must be logged to becom...
authorRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 23:25:50 +0000 (00:25 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 23:25:50 +0000 (00:25 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/package/class_NetworkPackage.php

index 9b4f9e3b8f0b972b9f7523113ac7d930eae83fb4..45ac926d3c441b604eeb0711b4790532c053fc66 100644 (file)
@@ -688,7 +688,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
                // Make sure this method isn't working if there is no package enqueued
                if (!$this->isPackageEnqueued()) {
                        // This is not fatal but should be avoided
-                       // @TODO Add some logging here
+                       self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __LINE__ . ']: No raw package data waiting declaration, but ' . __METHOD__ . ' has been called!');
                        return;
                } // END - if
 
@@ -821,7 +821,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
                 */
                if (!$this->isRawDataPending()) {
                        // This is not fatal but should be avoided
-                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __LINE__ . ']: isRawDataPending()=false - skipping further code ...');
+                       self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __LINE__ . ']: No raw (decoded?) data is pending, but ' . __METHOD__ . ' has been called!');
                        return;
                } // END - if