dropbox: retry blank errors to fix long listings
Sometimes dropbox returns blank errors in listings - retry this See: https://forum.rclone.org/t/bug-sync-dropbox-to-gdrive-failing-for-large-files-50gb-error-unexpected-eof/8595
This commit is contained in:
parent
d8e5b19ed4
commit
c3eecbe933
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ func shouldRetry(err error) (bool, error) {
|
|||
return true, err
|
||||
}
|
||||
// Keep old behavior for backward compatibility
|
||||
if strings.Contains(baseErrString, "too_many_write_operations") || strings.Contains(baseErrString, "too_many_requests") {
|
||||
if strings.Contains(baseErrString, "too_many_write_operations") || strings.Contains(baseErrString, "too_many_requests") || baseErrString == "" {
|
||||
return true, err
|
||||
}
|
||||
return fserrors.ShouldRetry(err), err
|
||||
|
|
Loading…
Reference in a new issue