projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246b00f
)
Return errs only if it contains at least one error.
author
Florian Forster
<ff@octo.it>
Mon, 22 Jan 2018 19:41:06 +0000
(20:41 +0100)
committer
Florian Forster
<ff@octo.it>
Mon, 22 Jan 2018 19:41:06 +0000
(20:41 +0100)
gfitsync.go
patch
|
blob
|
history
diff --git
a/gfitsync.go
b/gfitsync.go
index
65cbfa6
..
5bb80fc
100644
(file)
--- a/
gfitsync.go
+++ b/
gfitsync.go
@@
-296,5
+296,9
@@
func handleNotification(ctx context.Context, s *fitbit.Subscription) error {
}()
wg.Wait()
- return errs
+
+ if len(errs) != 0 {
+ return errs
+ }
+ return nil
}