Skip to content

Commit 5babef6

Browse files
authored
chore(file-upload): log file size when uploading a file (#428)
1 parent 048ece0 commit 5babef6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/porcelain/deploy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ func (n *Netlify) uploadFile(ctx context.Context, d *models.Deploy, f *FileBundl
470470
"deploy_id": d.ID,
471471
"file_path": f.Name,
472472
"file_sum": f.Sum,
473+
"file_size": f.Size,
473474
}).Debug("Uploading file")
474475

475476
b := backoff.NewExponentialBackOff()

0 commit comments

Comments
 (0)