Skip to content

Commit

Permalink
Remove s3 path from mirror log based on ClickPipes feedback (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex authored Nov 1, 2024
1 parent 69e355f commit 93ec020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flow/connectors/utils/avro/avro_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ func (p *peerDBOCFWriter) WriteRecordsToS3(
})
if err != nil {
s3Path := "s3://" + bucketName + "/" + key
logger.Error("failed to upload file", slog.Any("error", err), slog.Any("s3_path", s3Path))
return nil, fmt.Errorf("failed to upload file to path %s: %w", s3Path, err)
logger.Error("failed to upload file", slog.Any("error", err), slog.String("s3_path", s3Path))
return nil, fmt.Errorf("failed to upload file: %w", err)
}

if writeOcfError != nil {
Expand Down

0 comments on commit 93ec020

Please sign in to comment.