From 33f79e9db20061202cce3686c46e5a7a053274aa Mon Sep 17 00:00:00 2001 From: kikuyan Date: Sat, 17 Jul 2021 14:36:14 +0900 Subject: [PATCH] [postprocessor/embedthumbnail] include stdout on atomicparsley error --- youtube_dl/postprocessor/embedthumbnail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/postprocessor/embedthumbnail.py b/youtube_dl/postprocessor/embedthumbnail.py index 3990908b6..b36d22d5a 100644 --- a/youtube_dl/postprocessor/embedthumbnail.py +++ b/youtube_dl/postprocessor/embedthumbnail.py @@ -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: