diff --git a/internal/http/dj_handlers.go b/internal/http/dj_handlers.go index be522e5..5045f43 100644 --- a/internal/http/dj_handlers.go +++ b/internal/http/dj_handlers.go @@ -42,6 +42,7 @@ func (dj *DJHandlers) ListenersDec(w http.ResponseWriter, _ *http.Request) { if err != nil { log.Print(err) http.Error(w, err.Error(), http.StatusBadRequest) + return } w.WriteHeader(http.StatusOK) w.Header().Add("Content-Type", "text/plain")