From c90fc057d470c68911bf93a9ffb9b1957315a408 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 138f1799c..42fda9963 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