Browse Source

Add more verbose logging

Toni Fadjukoff 6 years ago
parent
commit
d5dec052ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bot.go

+ 1 - 1
bot.go View File

@@ -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 == "" {