Skip to content

Commit

Permalink
use error not info
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Feb 2, 2024
1 parent 78366d7 commit 7986cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sources/filesystem/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (s *Source) scanDir(ctx context.Context, path string, chunksChan chan *sour

workerPool.Go(func() error {
if err = s.scanFile(ctx, fullPath, chunksChan); err != nil {
ctx.Logger().Info("error scanning file", "path", fullPath, "error", err)
ctx.Logger().Error(err, "error scanning file", "path", fullPath, "error", err)
}
return nil
})
Expand Down

0 comments on commit 7986cf9

Please sign in to comment.