Skip to content

Commit

Permalink
Add log when we purge CF cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Oct 31, 2023
1 parent 9df1462 commit 888503b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions update.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,7 @@ func (fs *FeedServ) purgeCloudflareCache(feed *FeedConfig) error {
}
defer resp.Body.Close()

fs.Log.Info().Int("status_code", resp.StatusCode).Msg("Got Cloudflare purge cache response")

return nil
}

0 comments on commit 888503b

Please sign in to comment.