diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index 9c5f9b6f79..3cf43b5c1b 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -332,7 +332,13 @@ class Migrations extends Action $migration->getAttribute('resourceId'), $migration->getAttribute('resourceType') ); + } else { + Console::log(json_encode([ + 'stage' => 'source#errors', + 'errors' => $source->getErrors(), + ], JSON_PRETTY_PRINT)); } + $destination->shutDown(); $source->shutDown();