Skip to content

Commit

Permalink
Do not access node ID when node is not found (#1912)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Apr 24, 2024
1 parent c62d557 commit fef8261
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hscontrol/noise.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ func (ns *noiseServer) NoisePollNetMapHandler(
if err != nil {
log.Error().
Str("handler", "NoisePollNetMap").
Uint64("node.id", node.ID.Uint64()).
Msgf("Failed to fetch node from the database with node key: %s", mapRequest.NodeKey.String())
http.Error(writer, "Internal error", http.StatusInternalServerError)

Expand Down

0 comments on commit fef8261

Please sign in to comment.