From 8299edc82c001cdb3e26bbfb0859d38df3950d19 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 16 May 2015 14:32:16 -0700 Subject: [PATCH] Returning right after doCopy error, we should just print the error and move forward --- cmd-copy.go | 1 - cmd-sync.go | 1 - 2 files changed, 2 deletions(-) diff --git a/cmd-copy.go b/cmd-copy.go index 3e55c5d1..99f8a39b 100644 --- a/cmd-copy.go +++ b/cmd-copy.go @@ -134,7 +134,6 @@ func runCopyCmd(ctx *cli.Context) { } if err := doCopy(cpURLs.SourceContent.Name, srcConfig, cpURLs.TargetContent.Name, tgtConfig, &bar); err != nil { console.Errorln(iodine.ToError(err)) - return } <-cpQueue }(*cpURLs) diff --git a/cmd-sync.go b/cmd-sync.go index 2a537d7a..42d4f52a 100644 --- a/cmd-sync.go +++ b/cmd-sync.go @@ -93,7 +93,6 @@ func runSyncCmd(ctx *cli.Context) { } if err := doCopy(syncURLs.SourceContent.Name, srcConfig, syncURLs.TargetContent.Name, tgtConfig, &bar); err != nil { console.Errorln(iodine.ToError(err)) - return } <-syncQueue }(*syncURLs)