fix(go): Return response code 500 if Nix builds fail
This commit is contained in:
parent
3070d88051
commit
2f1bc55597
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ func (h *registryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
if err != nil {
|
||||
log.Println("Failed to build image manifest", err)
|
||||
w.WriteHeader(500)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue