Pārlūkot izejas kodu

Add logging to bot

Toni Fadjukoff 6 gadus atpakaļ
vecāks
revīzija
3ae8321b53
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      bot.go

+ 1 - 1
bot.go Parādīt failu

@@ -327,7 +327,7 @@ func (app *App) AutomateSection(title string) error {
327 327
 					if err != nil {
328 328
 						log.Println("Failed to find tracks from DB", err)
329 329
 					}
330
-					log.Println("Checking if playlist needs updating", currentTracks, tracks)
330
+					log.Println("Checking if playlist needs updating", currentTracks, tracks, err)
331 331
 					if len(tracks) > 0 && (err != nil || !reflect.DeepEqual(currentTracks, tracks)) {
332 332
 
333 333
 						if playlistID == "" {