diff --git a/main.go b/main.go index 52792f4..26ae6c6 100644 --- a/main.go +++ b/main.go @@ -30,6 +30,7 @@ func main() { data, err := loadJson("weather.json") if err != nil { fmt.Println("Cannot load weather.json file!") + os.Exit(1) } //Print the weather!