about summary refs log tree commit diff
path: root/tools/nixery/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nixery/main.go')
-rw-r--r--tools/nixery/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/nixery/main.go b/tools/nixery/main.go
index faee731b4e75..a4e0b9a80a16 100644
--- a/tools/nixery/main.go
+++ b/tools/nixery/main.go
@@ -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
 		}