projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ebff45
)
Improve error message.
author
Tom Clegg <tom@tomclegg.ca>
Mon, 12 Oct 2020 13:48:51 +0000
(09:48 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Mon, 12 Oct 2020 13:48:51 +0000
(09:48 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
stats.go
patch
|
blob
|
history
diff --git
a/stats.go
b/stats.go
index 62fb17d4fdb2b9dbd7425aeb8faa72f0a3b1654f..518cd132ac2adeb45aedd14dd1d8bbb433c1bb5e 100644
(file)
--- a/
stats.go
+++ b/
stats.go
@@
-136,7
+136,7
@@
func (cmd *stats) doStats(input io.Reader, output io.Writer) error {
if err == io.EOF {
break
} else if err != nil {
- return
err
+ return
fmt.Errorf("gob decode: %w", err)
}
ret.Genomes += len(ent.CompactGenomes)
ret.TileVariants += len(ent.TileVariants)