Log the error when something goes wrong requesting a claimed address

This commit is contained in:
Bryan Boreham committed 2016-04-29 16:01:21 +01:00
1 parent fd7fcc762e
commit 14bc1c987e
1 file changed
+1
+1
View File
@@ -66,6 +66,7 @@ func (c *claim) Try(alloc *Allocator) bool {
alloc.infof("Claim %s for %s: %s; will try later.", c.cidr, c.ident, err)
c.sendResult(nil)
} else { // just tell the user they can't do this.
alloc.errorf("unable to request address %s from %s: %s", c.cidr, owner, err)
c.deniedBy(alloc, owner)
}
}