]> git.bitcoin.ninja Git - youtube-dl/commit
[downloader/external] Fix download finalization when writing file to stdout (closes...
authorJohn Hawkinson <jhawk@mit.edu>
Sat, 8 Oct 2016 13:27:24 +0000 (09:27 -0400)
committerSergey M․ <dstftw@gmail.com>
Sat, 24 Mar 2018 09:34:55 +0000 (16:34 +0700)
commit80aa24609415af36ac30caa392e85f8c20349535
treee701967cdf49ce2a8f6b157596a5c449eaa16a98
parent0ff2c1ecb67b61e1410e1d0fe1966a7680e18947
[downloader/external] Fix download finalization when writing file to stdout (closes #10809)

An OSError or IOError generally indicates something a little more
wrong than a "simple" UnavailableVideoError, so print the actual
traceback that leads to the exception. Otherwise meaningful postmortem
debugging a bug report is essentially infeasible.
youtube_dl/downloader/common.py
youtube_dl/downloader/external.py