forked from Elara6331/itd
Add error logging for weather
This commit is contained in:
parent
032f735526
commit
d83923a917
6
main.go
6
main.go
@ -129,7 +129,11 @@ func main() {
|
|||||||
log.Error().Err(err).Msg("Error initializing notification relay")
|
log.Error().Err(err).Msg("Error initializing notification relay")
|
||||||
}
|
}
|
||||||
|
|
||||||
initWeather(dev)
|
// Initializa weather
|
||||||
|
err = initWeather(dev)
|
||||||
|
if err != nil {
|
||||||
|
log.Error().Err(err).Msg("Error initializing weather")
|
||||||
|
}
|
||||||
|
|
||||||
// Start control socket
|
// Start control socket
|
||||||
err = startSocket(dev)
|
err = startSocket(dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user