mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
Remove extra logging in migrations (#5380)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
0b3cd8162c
commit
577c948d29
@ -57,10 +57,8 @@ async function migrateMarkup (client: MigrationClient): Promise<void> {
|
||||
}
|
||||
)
|
||||
|
||||
console.log('processing', activity.class.DocUpdateMessage)
|
||||
try {
|
||||
await processMigrateMarkupFor(client, iterator)
|
||||
console.log('processing finished', activity.class.DocUpdateMessage)
|
||||
} finally {
|
||||
await iterator.close()
|
||||
}
|
||||
|
@ -41,11 +41,9 @@ async function migrateMarkup (client: MigrationClient): Promise<void> {
|
||||
})
|
||||
if (filtered.length === 0) continue
|
||||
|
||||
console.log('processing', _class, filtered.length, 'attributes')
|
||||
const iterator = await client.traverse(domain, { _class })
|
||||
try {
|
||||
await processMigrateMarkupFor(domain, filtered, client, iterator)
|
||||
console.log('processing finished', _class)
|
||||
} finally {
|
||||
await iterator.close()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user