]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 8 Dec 2020 23:23:03 +0000 (00:23 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 8 Dec 2020 23:23:50 +0000 (00:23 +0100)
- added noisy debug line
- fixed "NPE" as $csvFileInstance was unset before
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php
core

index b11bf5771bb5bf1b2c196c65a7fe45e288621045..a839a8821f2c5ba1512e66ae1f504e94807d2e08 100644 (file)
@@ -308,10 +308,11 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: csvData[%s]=%s', gettype($csvData), print_r($csvData, TRUE)));
                if (count($csvData) == 0) {
                        // Try to close it by actually unsetting (destructing) it
+                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: File "%s" has been fully read.', $csvFileInstance->getFilename()));
                        unset($csvFileInstance);
 
                        // This file as been fully read, so don't push it back on stack.
-                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: File "%s" has been fully read. - EXIT!', $csvFileInstance->getFilename()));
+                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('CRAWLER-UPLOADED-LIST-URL-SOURCE: EXIT!');
                        return;
                }
 
diff --git a/core b/core
index fc83e6b1ac6fe3a5e09a3e4f8bad20fa2240cae4..da760e51cadd942ec2f28fc7ceaf3b2ccaf65f47 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit fc83e6b1ac6fe3a5e09a3e4f8bad20fa2240cae4
+Subproject commit da760e51cadd942ec2f28fc7ceaf3b2ccaf65f47