Skip to content

Commit aab4a92

Browse files
committed
fix for zoekt logs as errors
1 parent ccd0706 commit aab4a92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/backend/src/zoekt.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, ctx: Ap
8484
}
8585
if (stderr) {
8686
stderr.split('\n').filter(line => line.trim()).forEach(line => {
87-
logger.error(line);
87+
// TODO: logging as regular info here and not error because non error logs are being
88+
// streamed in stderr and incorrectly being logged as errors at a high level
89+
logger.info(line);
8890
});
8991
}
9092

0 commit comments

Comments
 (0)