Skip to content

Commit

Permalink
Fix missing return in PollNetMapHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfowler committed Jan 22, 2022
1 parent b02f8dd commit 67d1dd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions poll.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ func (h *Headscale) PollNetMapHandler(ctx *gin.Context) {
Str("handler", "PollNetMap").
Msgf("Failed to fetch machine from the database with Machine key: %s", machineKey.String())
ctx.String(http.StatusInternalServerError, "")

return
}
log.Trace().
Str("handler", "PollNetMap").
Expand Down

0 comments on commit 67d1dd9

Please sign in to comment.