Don't enrich nil updates
All checks were successful
Build and Publish / release (push) Successful in 2m48s
All checks were successful
Build and Publish / release (push) Successful in 2m48s
This commit is contained in:
parent
be8a4f3bca
commit
2e3cfb44f4
@ -85,6 +85,7 @@ func (aw *AmbientWeather) handleProviderRequest(
|
|||||||
|
|
||||||
w.WriteHeader(http.StatusInternalServerError)
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
w.Write([]byte(err.Error()))
|
w.Write([]byte(err.Error()))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculate any fields that may be missing
|
// Calculate any fields that may be missing
|
||||||
|
Loading…
Reference in New Issue
Block a user