diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-08-07 17:30:28 -0700 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-08-07 17:30:28 -0700 |
commit | 0f90943e455fd0e4f323fa6d43092060c8b1db61 (patch) | |
tree | aba1ae82779ea950a5a9f1f47ef184efc73d9a28 | |
parent | 526e638c8ae750f19bd8b79dc1fef7ad12675487 (diff) | |
parent | 7edcb8f39cac73bb048a9543a3ac5cc82749a470 (diff) |
Merge pull request #1189 from cyisfor/master
More informative error
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 496866900..b51083154 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -547,7 +547,7 @@ class YoutubeDL(object): try: success = self.fd._do_download(filename, info_dict) except (OSError, IOError) as err: - raise UnavailableVideoError() + raise UnavailableVideoError(err) except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err: self.report_error(u'unable to download video data: %s' % str(err)) return |