commit 900d82fe49fe9b0984b391bab528e9ec418dd446
parent ca605b591823177e4c4abcafac0ecd98b9acf418
Author: parazyd <parazyd@dyne.org>
Date: Tue, 12 Dec 2017 13:08:04 +0100
dam-client: Don't bail out on announce error, just log it.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
@@ -173,7 +173,9 @@ func main() {
wg.Add(1)
go func(x string) {
valid, err := announce(x, nodevals, key)
- lib.CheckError(err)
+ if err != nil {
+ log.Printf("%s: %s\n", x, err.Error())
+ }
if valid {
ann++
}