From 3a4fb5dd14162b72e9424e4dda42aa815f56b7fc Mon Sep 17 00:00:00 2001 From: fogelito Date: Tue, 6 Jan 2026 10:56:33 +0200 Subject: [PATCH] throws --- src/Appwrite/Platform/Workers/Migrations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index f04617e899..c692b26dd8 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -111,7 +111,7 @@ class Migrations extends Action $migration = new Document($payload['migration'] ?? []); if ($migration->isEmpty()) { - throw new \Exception("Migration not found"); + throw new Exception('Missing migration'); } if ($project->getId() === 'console') { @@ -119,7 +119,7 @@ class Migrations extends Action } if ($project->isEmpty()) { - throw new \Exception("Project not found"); + throw new Exception('Missing project'); } $this->dbForProject = $dbForProject;