Skip to content

Commit f62a492

Browse files
committed
properly log zoekt index exec
1 parent 6662d20 commit f62a492

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/backend/src/zoekt.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,18 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, ctx: Ap
7676
reject(error);
7777
return;
7878
}
79+
80+
if (stdout) {
81+
stdout.split('\n').filter(line => line.trim()).forEach(line => {
82+
logger.info(line);
83+
});
84+
}
85+
if (stderr) {
86+
stderr.split('\n').filter(line => line.trim()).forEach(line => {
87+
logger.error(line);
88+
});
89+
}
90+
7991
resolve({
8092
stdout,
8193
stderr

0 commit comments

Comments
 (0)