From 8e2213fbbd17230aaf7b259de4be816a166841c1 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 19 Nov 2017 18:08:38 +0000 Subject: [PATCH] local: add error message for cross file system moves --- local/local.go | 1 + 1 file changed, 1 insertion(+) diff --git a/local/local.go b/local/local.go index 4e80b612e..667de902b 100644 --- a/local/local.go +++ b/local/local.go @@ -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 }