diff --git a/server/pkg/controller/filedata/replicate.go b/server/pkg/controller/filedata/replicate.go index fa34aa2e9b3..708a654b4f3 100644 --- a/server/pkg/controller/filedata/replicate.go +++ b/server/pkg/controller/filedata/replicate.go @@ -69,7 +69,12 @@ func (c *Controller) tryReplicate() error { } err = c.replicateRowData(ctx, *row) if err != nil { - log.Errorf("Could not delete file data: %s", err) + log.WithFields(log.Fields{ + "file_id": row.FileID, + "type": row.Type, + "size": row.Size, + "userID": row.UserID, + }).Errorf("Could not delete file data: %s", err) return err } else { // If the replication was completed without any errors, we can reset the lock time