From 9d7bc04089923dd6d9541c627d540dee9a73473f Mon Sep 17 00:00:00 2001 From: fogelito Date: Fri, 30 Jan 2026 10:04:09 +0200 Subject: [PATCH] throw --- src/Appwrite/Platform/Workers/Migrations.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index cef732b08c..3dd4c3f771 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -340,6 +340,9 @@ class Migrations extends Action */ $endpoint = System::getEnv('_APP_MIGRATION_ENDPOINT'); + if(empty($endpoint)){ + throw new \Exception('empty _APP_MIGRATION_ENDPOINT'); + } try { $credentials = $migration->getAttribute('credentials', []);