Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kaimi-io/yandex-music-download.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaimi <kaimi-@users.noreply.github.com>2020-08-05 19:51:26 +0300
committerGitHub <noreply@github.com>2020-08-05 19:51:26 +0300
commit03796948fcd0774872a1122272e6c7508cd9d491 (patch)
tree05b85332c10c13278191a76b39fd983c6417ecfa
parent80fc16d84eb1bcff48a563ebe318a2b6818577aa (diff)
Additional logging
-rwxr-xr-xsrc/ya.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ya.pl b/src/ya.pl
index 8f54c50..a75f6cf 100755
--- a/src/ya.pl
+++ b/src/ya.pl
@@ -538,6 +538,7 @@ sub get_track_url
if(!$json_data)
{
info(DEBUG, 'Can\'t parse JSON blob');
+ log_response($request);
return;
}
@@ -545,6 +546,7 @@ sub get_track_url
if(!$json)
{
info(DEBUG, 'Can\'t create json from data');
+ log_response($request);
return;
}
@@ -572,6 +574,7 @@ sub get_track_url
if($target_idx < 0)
{
info(DEBUG, 'Can\'t find track with proper format & bitrate');
+ log_response($request);
return;
}