Explorar el Código

Add more verbose logging

Toni Fadjukoff hace 6 años
padre
commit
d5dec052ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bot.go

+ 1 - 1
bot.go Ver fichero

@@ -322,9 +322,9 @@ func (app *App) AutomateSection(title string) error {
322 322
 				} else if token.Expiry.Before(time.Now()) {
323 323
 					log.Println("Token has expired")
324 324
 				} else {
325
-					log.Println("Checking if playlist needs updating")
326 325
 					playlistId, tracks := findPlaylist(changedWikiText)
327 326
 					currentTracks, err := app.db.FindPlaylistBySection(section.title)
327
+					log.Println("Checking if playlist needs updating", currentTracks, tracks)
328 328
 					if len(tracks) > 0 && (err != nil || reflect.DeepEqual(currentTracks, tracks)) {
329 329
 
330 330
 						if playlistId == "" {