Procházet zdrojové kódy

Merge branch 'hotfix/non_blocking_update_all_error'

Olivier Massot před 5 měsíci
rodič
revize
cb1421d1f9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      ot_admin/Classes/Command/UpdateSiteCommand.php

+ 1 - 1
ot_admin/Classes/Command/UpdateSiteCommand.php

@@ -117,7 +117,7 @@ class UpdateSiteCommand extends Command
                     if ($delete) {
                         $this->siteController->deleteSiteAction($org_id);
                     } else {
-                        throw $e;
+                        $io->error('Organization ' . $org_id . ' does not exist, consider deleting the website.');
                     }
                 } catch (\Throwable $e) {
                     $io->error('Organization Id: ' . $org_id . ' - ' . $e->getMessage());