mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
throws
This commit is contained in:
parent
2a679ead32
commit
3a4fb5dd14
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue