Skip to content

Commit

Permalink
Fixes #32270 - continue with upgrade even if the market app cannot be…
Browse files Browse the repository at this point in the history
… enabled/installed
  • Loading branch information
DeepDiver1975 authored and micbar committed Aug 14, 2018
1 parent 829f7aa commit 64dc8f6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/private/Repair/Apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,12 @@ private function fixMarketAppState(IOutput $output) {

// Then we need to enable the market app to support app updates / downloads during upgrade
$output->info('Enabling market app to assist with update');
$this->appManager->enableApp('market');
return true;
try {
$this->appManager->enableApp('market');
return true;
} catch (\Exception $ex) {
$output->warning($ex->getMessage());
return false;
}
}
}

0 comments on commit 64dc8f6

Please sign in to comment.