mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
fix for zoekt logs as errors
This commit is contained in:
parent
ccd0706d3f
commit
aab4a92a87
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, ctx: Ap
|
|||
}
|
||||
if (stderr) {
|
||||
stderr.split('\n').filter(line => line.trim()).forEach(line => {
|
||||
logger.error(line);
|
||||
// TODO: logging as regular info here and not error because non error logs are being
|
||||
// streamed in stderr and incorrectly being logged as errors at a high level
|
||||
logger.info(line);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue