diff --git a/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts b/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts index d0b89a79..42975677 100644 --- a/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts +++ b/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts @@ -323,8 +323,9 @@ const command: yargs.CommandModule = { const filterDocumentsByUserEMail = parseYargsCommaSeparatedStringArray( argv.filterDocumentsByUserEMail as string /* ignore typechecker */, ); - runWithPlatform("Re-index", async ({ spinner, platform }) => { + await runWithPlatform("Re-index", async ({ spinner, platform }) => { try { + logger.level = "debug"; for (const repositoryName of repositories) await RepositoryNameToCTOR.get(repositoryName)(platform, { spinner,