about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--internal/server/mux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/server/mux.go b/internal/server/mux.go
index d0984da..16a0150 100644
--- a/internal/server/mux.go
+++ b/internal/server/mux.go
@@ -120,6 +120,8 @@ func NewMux(
 					}
 					slog.Error("search error", "error", err)
 					errorHandler(w, r, err.Error(), http.StatusInternalServerError)
+
+					return
 				}
 
 				tdata := components.ResultData{