mirror of
https://github.com/rclone/rclone
synced 2024-11-10 08:08:35 +01:00
b2: add more logging on multipart upload errors to debug #2036
This commit is contained in:
parent
0ce81f68fe
commit
1383df4f58
@ -239,6 +239,9 @@ func (up *largeUpload) transferChunk(part int64, body []byte) error {
|
||||
|
||||
resp, err := up.f.srv.CallJSON(&opts, nil, &response)
|
||||
retry, err := up.f.shouldRetry(resp, err)
|
||||
if err != nil {
|
||||
fs.Debugf(up.o, "Error sending chunk %d (retry=%v): %v: %#v", part, retry, err, err)
|
||||
}
|
||||
// On retryable error clear PartUploadURL
|
||||
if retry {
|
||||
fs.Debugf(up.o, "Clearing part upload URL because of error: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user