From 351daf74c565beb8404b528d7f021c95d320b266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 23 Oct 2018 12:45:44 +0200 Subject: [PATCH] Logging more data --- server/public/assets/js/list.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/public/assets/js/list.js b/server/public/assets/js/list.js index 23b0dec0..47839341 100755 --- a/server/public/assets/js/list.js +++ b/server/public/assets/js/list.js @@ -609,6 +609,9 @@ var List = { exportToSoundCloud: function(thisSong, i) { console.log(thisSong, i); if(i >= full_playlist.length) { + console.log(result, List.found, List.not_found); + List.found = []; + List.not_found = []; SC_player.post('/playlists', { playlist: { title: decodeURIComponent(channel.toLowerCase()) + ' - Zoff', @@ -619,6 +622,8 @@ var List = { console.log(result, List.found, List.not_found); List.found = []; List.not_found = []; + }).catch(function(error) { + console.log(error); }); } else if(thisSong == undefined) { if(full_playlist.length > 0) {