]> _ Git - cubist_cms-back.git/commitdiff
wip #7868 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 30 Jan 2026 19:20:53 +0000 (20:20 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 30 Jan 2026 19:20:53 +0000 (20:20 +0100)
src/app/Magic/Traits/CustomDataSource.php

index 0a1ea90697d7fa4907b90969d5bb8e28391c7ac7..f69be2f584100e02e1c526dde8f86db40b5867c8 100644 (file)
@@ -12,8 +12,13 @@ trait CustomDataSource
     public static function bootCustomDataSource()
     {
         $instance = (new static);
+
         if ($instance->shouldRefreshDatabase()) {
-            $instance->refreshDatabase();
+            try {
+                $instance->refreshDatabase();
+            } catch (\Exception $exception) {
+
+            }
         }
     }