1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00:00

[postprocessor/embedthumbnail] include stdout on atomicparsley error

This commit is contained in:
kikuyan 2021-07-17 14:36:14 +09:00
parent a803582717
commit 33f79e9db2

View file

@ -112,7 +112,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
stdout, stderr = p.communicate()
if p.returncode != 0:
msg = stderr.decode('utf-8', 'replace').strip()
msg = (stdout + stderr).decode('utf-8', 'replace').strip()
raise EmbedThumbnailPPError(msg)
if not self._already_have_thumbnail: