Skip to content

Commit

Permalink
Listener returns "204 No Content" on success
Browse files Browse the repository at this point in the history
  • Loading branch information
gbenson committed Nov 24, 2023
1 parent 51513af commit e8c3fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tor-miner/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (r *Report) Send() error {
}
defer res.Body.Close()

if res.StatusCode != http.StatusOK {
if res.StatusCode != http.StatusNoContent {
fmt.Printf("tor-miner: %s: %s\n", res.Request.URL, res.Status)
}
return nil
Expand Down

0 comments on commit e8c3fe0

Please sign in to comment.