added #log at all points wherer log pkg is used

This commit is contained in:
2026-05-03 09:51:20 -06:00
parent 58b5ab55ba
commit 46c2b9a2ff
6 changed files with 17 additions and 3 deletions
+1
View File
@@ -11,6 +11,7 @@ func (s *Server) handlerRefresh(w http.ResponseWriter, req *http.Request) {
return
}
if err := s.c.Refresh(); err != nil {
// #log
log.Printf("refresh failed: %v", err)
http.Error(w, "refresh failed", http.StatusInternalServerError)
return