瀏覽代碼

Add logging to bot

Toni Fadjukoff 6 年之前
父節點
當前提交
3ae8321b53
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bot.go

+ 1 - 1
bot.go 查看文件

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