Skip to content

Commit 0efd237

Browse files
author
Max Y
committed
MAGETWO-31949: Error message after successful install
1 parent 4393143 commit 0efd237

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup/module/Magento/Setup/src/Model/WebLogger.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ public function get()
164164
*/
165165
public function clear()
166166
{
167-
unlink($this->logFile);
167+
if (file_exists($this->logFile)) {
168+
unlink($this->logFile);
169+
}
168170
}
169171

170172
/**

0 commit comments

Comments
 (0)