From 9cefcf2ff001ad139e38f566fed2b37b57d49090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20M=C3=BCnch?= Date: Fri, 31 Jan 2020 15:44:51 +0100 Subject: [PATCH] improved Logging --- httppoll.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httppoll.go b/httppoll.go index b830345..52f219a 100644 --- a/httppoll.go +++ b/httppoll.go @@ -48,7 +48,7 @@ func ErrorPoll(url string, err error, led int) { if spacestates[url] != Unknown { SetSpaceState(url, Outdated) } - fmt.Println("LED", led, err.Error()) + fmt.Println("LED", led, "URL:", url, err.Error()) } func SetSpaceState(url string, s State) {