diff options
author | Jakob Borg <jakob@nym.se> | 2014-05-28 07:03:47 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-05-28 07:03:47 +0200 |
commit | 7745ed34d3dd3acdb08852a48510f87e76bf7fa8 (patch) | |
tree | 7cfd27ff4b473d137d966d14f38d3a465ec2a6eb /beacon | |
parent | 8fe546c4a2662d79d3068570d209e723588b002b (diff) |
Don't stop discovery on send errors (fixes #240)
Diffstat (limited to 'beacon')
-rw-r--r-- | beacon/beacon.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/beacon/beacon.go b/beacon/beacon.go index e8ab78bdd9..e2ae90352d 100644 --- a/beacon/beacon.go +++ b/beacon/beacon.go @@ -102,9 +102,7 @@ func (b *Beacon) writer() { if debug { l.Debugln(err) } - return - } - if debug { + } else if debug { l.Debugf("sent %d bytes to %s", len(bs), dst) } } |