From 8005786d9ad5bff720f255952810045108e8de70 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 17 May 2020 20:27:10 -0700 Subject: [PATCH] logs --- weed/shell/command_volume_fix_replication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go index d16a89434..19da89b67 100644 --- a/weed/shell/command_volume_fix_replication.go +++ b/weed/shell/command_volume_fix_replication.go @@ -121,7 +121,7 @@ func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv, VolumeId: volumeInfo.Id, SourceDataNode: sourceNode.dataNode.Id, }) - return replicateErr + return fmt.Errorf("copying from %s => %s : %v", sourceNode.dataNode.Id, dst.dataNode.Id, replicateErr) }) if err != nil {