remove redundant logging
This commit is contained in:
parent
8a1fabf91a
commit
8a7210ad56
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue