mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
throw
This commit is contained in:
1 parent
5c61f7232a
commit
9d7bc04089
1 file changed
+3
@@ -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