From 14bc1c987eeaa2151a6ded4e834afe22c94dcbb0 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 29 Apr 2016 16:01:21 +0100 Subject: [PATCH] Log the error when something goes wrong requesting a claimed address --- ipam/claim.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ipam/claim.go b/ipam/claim.go index 467a182e..4fe725f2 100644 --- a/ipam/claim.go +++ b/ipam/claim.go @@ -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) } }