remove redundant logging

This commit is contained in:
ari melody 2026-06-13 03:34:31 +01:00
parent 8a1fabf91a
commit 8a7210ad56
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E

View file

@ -96,10 +96,8 @@ func (srv *Service) BindRoutes(group *gin.RouterGroup) {
ctx.String(http.StatusInternalServerError, http.StatusText(http.StatusInternalServerError))
return
}
log.Printf("Waiting on title file lock...")
srv.titleFileMutex.Lock()
defer srv.titleFileMutex.Unlock()
log.Printf("Got it!")
file, err := os.OpenFile(srv.cfg.TitleFilePath, os.O_RDWR | os.O_CREATE | os.O_TRUNC, 0)
if err != nil {
log.Printf("Failed to open title file: %v", err)