0

Additional logging

This commit is contained in:
Kaimi
2020-08-05 19:51:26 +03:00
committed by GitHub
parent 80fc16d84e
commit 03796948fc

View File

@@ -538,6 +538,7 @@ sub get_track_url
if(!$json_data) if(!$json_data)
{ {
info(DEBUG, 'Can\'t parse JSON blob'); info(DEBUG, 'Can\'t parse JSON blob');
log_response($request);
return; return;
} }
@@ -545,6 +546,7 @@ sub get_track_url
if(!$json) if(!$json)
{ {
info(DEBUG, 'Can\'t create json from data'); info(DEBUG, 'Can\'t create json from data');
log_response($request);
return; return;
} }
@@ -572,6 +574,7 @@ sub get_track_url
if($target_idx < 0) if($target_idx < 0)
{ {
info(DEBUG, 'Can\'t find track with proper format & bitrate'); info(DEBUG, 'Can\'t find track with proper format & bitrate');
log_response($request);
return; return;
} }