Log the error when something goes wrong requesting a claimed address
This commit is contained in:
1 parent
fd7fcc762e
commit
14bc1c987e
1 file changed
+1
@@ -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)
|
alloc.infof("Claim %s for %s: %s; will try later.", c.cidr, c.ident, err)
|
||||||
c.sendResult(nil)
|
c.sendResult(nil)
|
||||||
} else { // just tell the user they can't do this.
|
} 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)
|
c.deniedBy(alloc, owner)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user