diff options
author | Nick White <git@njw.name> | 2021-05-19 22:24:05 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-05-19 22:24:05 +0100 |
commit | 7a00dc572490f2bacaebb823845e0b1c3bc79db5 (patch) | |
tree | 9285efd53595a304da9a8ae027cd16631c7d0366 /internal/pipeline | |
parent | 176aa232973e534a710ce50ab0b3b89e6185fe04 (diff) |
Fix syntax with another Errorf call
Diffstat (limited to 'internal/pipeline')
-rw-r--r-- | internal/pipeline/get.go | 2 |
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) |