mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
throw
This commit is contained in:
parent
5c61f7232a
commit
9d7bc04089
1 changed files with 3 additions and 0 deletions
|
|
@ -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', []);
|
||||
|
|
|
|||
Loading…
Reference in a new issue