Skip to content

Commit

Permalink
Pipe helper application STDERR to STDOUT to hopefully get better errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvijge committed Apr 16, 2024
1 parent 1b8f764 commit b8d6337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProtocolHandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ sub _fetchTrackExtra {
$exec = "$exec.exe";
}
my $exec_options = EXEC_OPTIONS;
my $yt_dlp_cmd = "$exec $exec_options $mixcloud_url";
my $yt_dlp_cmd = "$exec $exec_options $mixcloud_url 2>&1"; # pipe STDERR to STDOUT
$log->info("Executing helper binary: $yt_dlp_cmd");
my $info_json_str = `$yt_dlp_cmd`;
my $json = eval { from_json($info_json_str) };
Expand Down

0 comments on commit b8d6337

Please sign in to comment.