diff --git a/web/api/v1/api.go b/web/api/v1/api.go index 28ad09051e..955df918fa 100644 --- a/web/api/v1/api.go +++ b/web/api/v1/api.go @@ -1968,6 +1968,7 @@ func (api *API) serveWALReplayStatus(w http.ResponseWriter, r *http.Request) { status, err := api.db.WALReplayStatus() if err != nil { api.respondError(w, &apiError{errorInternal, err}, nil) + return } api.respond(w, r, walReplayStatus{ Min: status.Min,