diff options
author | Nick White <git@njw.name> | 2019-12-16 16:32:13 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-12-16 16:32:13 +0000 |
commit | 353f5c31efca61e60b5ea5a30b77c8a649cce62b (patch) | |
tree | 1f91a807d1f63fe2b71e5cd018e7bbe7e51324b8 /cmd | |
parent | d4c42f851cb2254a27940721de3e3ef2d73f2910 (diff) |
Fix error message syntax in getpipelinebook
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/getpipelinebook/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/getpipelinebook/main.go b/cmd/getpipelinebook/main.go index be80b41..d0f2e3b 100644 --- a/cmd/getpipelinebook/main.go +++ b/cmd/getpipelinebook/main.go @@ -121,13 +121,13 @@ func main() { verboselog.Println("Downloading file", fn) err = conn.Download(conn.WIPStorageId(), fn, fn) if err != nil { - log.Println("Failed to download %s: %s", fn, err) + log.Printf("Failed to download %s: %s\n", fn, err) } fn = filepath.Join(bookname, bookname + ".binarised.pdf") verboselog.Println("Downloading file", fn) err = conn.Download(conn.WIPStorageId(), fn, fn) if err != nil { - log.Println("Failed to download %s: %s", fn, err) + log.Printf("Failed to download %s: %s\n", fn, err) } analyses := []string{"conf", "graph.png"} |