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