Skip to content
Snippets Groups Projects
Commit bdaf001c authored by Paul Lewis's avatar Paul Lewis
Browse files

MAGETWO-52000: [Github][PR]impossible to see what is wrong with cron -...

MAGETWO-52000: [Github][PR]impossible to see what is wrong with cron - unhelpful error message #3189

 - fix unknown variable merge error and path in docblock
parent 2a9cebf3
Branches
No related merge requests found
......@@ -36,7 +36,7 @@ class ReadinessCheck
/**#@-*/
/**
* @var DbValidator
* @var \Magento\Setup\Validator\DbValidator
*/
private $dbValidator;
......@@ -138,6 +138,7 @@ class ReadinessCheck
// Prepare list of magento specific files and directory paths for updater application to check write
// permissions
$errorMessage = '';
try {
$filePaths = $this->basePackageInfo->getPaths();
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_LIST] = $filePaths;
......@@ -146,7 +147,7 @@ class ReadinessCheck
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_LIST] = [];
$errorLogMessages[] = $errorMessage;
}
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_ERROR] = $errorMsg;
$resultJsonRawData[self::KEY_FILE_PATHS][self::KEY_ERROR] = $errorMessage;
// updates timestamp
$write = $this->filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem\DirectoryList::VAR_DIR);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment