Skip to content

Commit

Permalink
Fixed error support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptabor committed Dec 1, 2024
1 parent effc01e commit 775d900
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions http/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,10 @@ func (h *Handler) statuses(w http.ResponseWriter, r *http.Request) {
})
}
}
if err := g.Wait(); err != nil {
h.log("%v", err)
httpError(w, err)
}

statusResponses := map[string]statusResponse{}
for deviceUUID, ch := range mapUUID2Ch {
Expand Down

0 comments on commit 775d900

Please sign in to comment.