summaryrefslogtreecommitdiff
path: root/internal/pipeline
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-05-19 22:24:05 +0100
committerNick White <git@njw.name>2021-05-19 22:24:05 +0100
commit7a00dc572490f2bacaebb823845e0b1c3bc79db5 (patch)
tree9285efd53595a304da9a8ae027cd16631c7d0366 /internal/pipeline
parent176aa232973e534a710ce50ab0b3b89e6185fe04 (diff)
Fix syntax with another Errorf call
Diffstat (limited to 'internal/pipeline')
-rw-r--r--internal/pipeline/get.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pipeline/get.go b/internal/pipeline/get.go
index 6c5b92c..0db5cf2 100644
--- a/internal/pipeline/get.go
+++ b/internal/pipeline/get.go
@@ -81,7 +81,7 @@ func DownloadAnalyses(dir string, name string, conn Pipeliner) error {
func DownloadAll(dir string, name string, conn Pipeliner) error {
objs, err := conn.ListObjects(conn.WIPStorageId(), name)
if err != nil {
- return fmt.Errorf("Failed to get list of files for book", name, err)
+ return fmt.Errorf("Failed to get list of files for book %s: %v", name, err)
}
for _, i := range objs {
base := filepath.Base(i)