~alanpearce/searchix

f076b5bd6cb82edd99be50f3dbdd39bb9be2c44e — Alan Pearce 5 months ago 3f6b365
fix: panic on search error
1 files changed, 2 insertions(+), 0 deletions(-)

M internal/server/mux.go
M internal/server/mux.go => internal/server/mux.go +2 -0
@@ 120,6 120,8 @@ func NewMux(
					}
					slog.Error("search error", "error", err)
					errorHandler(w, r, err.Error(), http.StatusInternalServerError)

					return
				}

				tdata := components.ResultData{