Skip to content

Commit 59fe55b

Browse files
committed
No log message for HTTP 200
1 parent 0f5214a commit 59fe55b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/unsavory/unsavory.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ func (c *Client) checkURL(u string) {
107107
}
108108
} else {
109109
switch resp.StatusCode {
110+
case http.StatusOK:
111+
// do nothing
110112
case http.StatusNotFound, http.StatusGone:
111113
log.Printf("Deleting (404): %s\n", u)
112114
c.deleteURL(u)

0 commit comments

Comments
 (0)