Browse Source

Add logging to bot

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

+ 1 - 1
bot.go View File

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