mirror of
https://github.com/rclone/rclone.git
synced 2025-03-10 12:35:14 +08:00
onedrive: graph: fix unchecked err
This commit is contained in:
parent
468760e5e7
commit
dc4c3e57cc
@ -764,8 +764,8 @@ func (f *Fs) waitForJob(location string, o *Object) error {
|
||||
return errors.Errorf("%s: async operation returned %q", o.remote, status.Status)
|
||||
}
|
||||
case "completed":
|
||||
o.readMetaData()
|
||||
return nil
|
||||
err = o.readMetaData()
|
||||
return errors.Wrapf(err, "async operation completed but readMetaData failed")
|
||||
}
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
Loading…
x
Reference in New Issue
Block a user