mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 05:45:20 +00:00
properly log zoekt index exec
This commit is contained in:
parent
6662d20ee8
commit
f62a492ab3
1 changed files with 12 additions and 0 deletions
|
|
@ -76,6 +76,18 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, ctx: Ap
|
||||||
reject(error);
|
reject(error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (stdout) {
|
||||||
|
stdout.split('\n').filter(line => line.trim()).forEach(line => {
|
||||||
|
logger.info(line);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (stderr) {
|
||||||
|
stderr.split('\n').filter(line => line.trim()).forEach(line => {
|
||||||
|
logger.error(line);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
resolve({
|
resolve({
|
||||||
stdout,
|
stdout,
|
||||||
stderr
|
stderr
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue