Add error logging for weather

This commit is contained in:
Elara 2022-02-21 16:27:04 -08:00
parent b4d302caf6
commit 4bdb82b1bc

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)