From 112f3fd468d77c0bdd7293fa717ead881c73015b Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Mon, 20 Jun 2016 15:25:21 -0700 Subject: [PATCH] Give log reviewers a hint as to which check is failing --- command/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent.go b/command/agent/agent.go index 138f1799c5..42fda9963c 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -1048,7 +1048,7 @@ func (a *Agent) UpdateCheck(checkID types.CheckID, status, output string) error check, ok := a.checkTTLs[checkID] if !ok { - return fmt.Errorf("CheckID does not have associated TTL") + return fmt.Errorf("CheckID %q does not have associated TTL", checkID) } // Set the status through CheckTTL to reset the TTL