improved Logging

This commit is contained in:
Malte Münch 2020-01-31 15:44:51 +01:00
parent 94d03e1c2f
commit 9cefcf2ff0
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func ErrorPoll(url string, err error, led int) {
if spacestates[url] != Unknown { if spacestates[url] != Unknown {
SetSpaceState(url, Outdated) SetSpaceState(url, Outdated)
} }
fmt.Println("LED", led, err.Error()) fmt.Println("LED", led, "URL:", url, err.Error())
} }
func SetSpaceState(url string, s State) { func SetSpaceState(url string, s State) {