Returning right after doCopy error, we should just print the error and move forward

This commit is contained in:
Harshavardhana
2015-05-16 14:33:35 -07:00
parent 44fd69dc5a
commit 8299edc82c
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -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)
-1
View File
@@ -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)