mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
throw
This commit is contained in:
@@ -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', []);
|
||||
|
||||
Reference in New Issue
Block a user