fix for zoekt logs as errors

This commit is contained in:
msukkari 2025-09-09 18:44:23 -07:00
parent ccd0706d3f
commit aab4a92a87

View file

@ -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);
});
}