forked from Elara6331/itd
Add error logging for weather
This commit is contained in:
parent
b4d302caf6
commit
4bdb82b1bc
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