We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32e7ab6 + d009e3a commit 721a8faCopy full SHA for 721a8fa
setup/src/Magento/Setup/Model/Installer.php
@@ -1024,7 +1024,16 @@ public function uninstall()
1024
{
1025
$this->log->log('Starting Magento uninstallation:');
1026
1027
- $this->cleanCaches();
+ try {
1028
+ $this->cleanCaches();
1029
+ } catch (\Exception $e) {
1030
+ $this->log->log(
1031
+ 'Can\'t clear cache due to the following error: '
1032
+ . $e->getMessage() . PHP_EOL
1033
+ . 'To fully clean up your uninstallation, you must manually clear your cache.'
1034
+ );
1035
+ }
1036
+
1037
$this->cleanupDb();
1038
1039
$this->log->log('File system cleanup:');
0 commit comments