mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
add: logging for errors.
This commit is contained in:
parent
eb1d4c68ea
commit
d34635becb
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue