Add error logging for weather

This commit is contained in:
Elara 2022-02-21 16:27:04 -08:00
parent b4d302caf6
commit 4bdb82b1bc
1 changed files with 5 additions and 1 deletions

View File

@ -129,7 +129,11 @@ func main() {
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
err = startSocket(dev)