Add error logging for weather

This commit is contained in:
Elara 2022-02-21 16:27:04 -08:00
parent 032f735526
commit d83923a917

View File

@ -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)