diff options
author | Andinus <andinus@nand.sh> | 2020-03-26 15:31:26 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-26 15:31:26 +0530 |
commit | 79bad7258fb6f6b1ffd4b4bb378fefe513de7062 (patch) | |
tree | 2219a089ad774b71ca7da32387537b169d60e806 /cmd | |
parent | afd4130b382c333e746adff49ce5d2c554d3045d (diff) | |
download | cetus-79bad7258fb6f6b1ffd4b4bb378fefe513de7062.tar.gz |
Fix logical error in fmt.Errorf statement
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cetus/apod.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cetus/apod.go b/cmd/cetus/apod.go index 4970f79..2c0f2a0 100644 --- a/cmd/cetus/apod.go +++ b/cmd/cetus/apod.go @@ -161,7 +161,7 @@ func dlAndCacheAPODBody() { // and the program shouldn't exit but should continue after // printing the log so that the user can investigate it later. if err != nil { - err = fmt.Errorf("%s\n%s", + err = fmt.Errorf("%s%s\n%s", "apod.go: failed to write body to file: ", file, err.Error()) log.Println(err) |