projects
/
kraftakt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return errs only if it contains at least one error.
[kraftakt.git]
/
gfitsync.go
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
}