forked from mamu/spacepanel_aggregator
improved Logging
This commit is contained in:
parent
94d03e1c2f
commit
9cefcf2ff0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue