diff --git a/pkg/ambient/ambient.go b/pkg/ambient/ambient.go index 7625e25..b7c1a75 100644 --- a/pkg/ambient/ambient.go +++ b/pkg/ambient/ambient.go @@ -85,6 +85,7 @@ func (aw *AmbientWeather) handleProviderRequest( w.WriteHeader(http.StatusInternalServerError) w.Write([]byte(err.Error())) + return } // Calculate any fields that may be missing