local: add error message for cross file system moves

This commit is contained in:
Nick Craig-Wood 2017-11-19 18:08:38 +00:00
parent 085c690798
commit 8e2213fbbd
1 changed files with 1 additions and 0 deletions

View File

@ -484,6 +484,7 @@ func (f *Fs) Move(src fs.Object, remote string) (fs.Object, error) {
} else if err != nil {
// not quite clear, but probably trying to move a file across file system
// boundaries. Copying might still work.
fs.Errorf(src, "Can't move: %v: trying copy", err)
return nil, fs.ErrorCantMove
}