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.
1 parent c790670 commit 0fe64a0Copy full SHA for 0fe64a0
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 following error: '
1032
+ . $e->getMessage()
1033
+ );
1034
+ }
1035
+
1036
1037
$this->cleanupDb();
1038
1039
$this->log->log('File system cleanup:');
0 commit comments