Skip to content

Find, verify, and analyze leaked credentials

Log non-critical chunk errors at V(2).Info instead of Error (#4928)

John Elliottcf31c26af313
diff --git a/pkg/handlers/handlers.go b/pkg/handlers/handlers.go
index 4f98eeef3..858feeac6 100644
--- a/pkg/handlers/handlers.go
+++ b/pkg/handlers/handlers.go
@@ -425,7 +425,7 @@ func handleChunksWithError(
if isFatal(dataOrErr.Err) {
return dataOrErr.Err
}
- ctx.Logger().Error(dataOrErr.Err, "non-critical error processing chunk")
+ ctx.Logger().V(2).Info("non-critical error processing chunk", "error", dataOrErr.Err)
continue
}
if len(dataOrErr.Data) > 0 {