From cb1cea4b34c1d73f7c512ecc74c5d97c21456d85 Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Sun, 9 Oct 2016 08:17:05 -0400 Subject: [PATCH] Revert "Print traceback when raising UnavailableVideoError" This reverts commit ca14b60aca99090895c636edc95e0ca9c5469dfa. Moved to PR #10888. --- youtube_dl/YoutubeDL.py | 1 - 1 file changed, 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 166fe8b15..99825e343 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1701,7 +1701,6 @@ class YoutubeDL(object): self.report_error('unable to download video data: %s' % error_to_compat_str(err)) return except (OSError, IOError) as err: - traceback.print_exc() raise UnavailableVideoError(err) except (ContentTooShortError, ) as err: self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded))